Skip to content

iced_glow 0.5.1 crashing with 'location' : not supported for this version or the enabled extensions (GL v3.2) #1625

@greatest-ape

Description

@greatest-ape

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

Multiple OctaSine users are seeing crashes since updating to iced_glow 0.5. Detailed issue with error logs. OctaSine currently uses GL v3.2.

I think the crash is due to using location here without enabling ARB_explicit_attrib_location when loading the shader. This seems to be a very similar issue to #1336, which was resolved by these changes to glow_glyph.

What is the expected behavior?

No crash on supported GL versions.

Version

0.6

Operative System

Windows

Do you have any log output?

20:15:01 [ERROR] thread '<unnamed>' panicked at 'ERROR: 0:13: 'location' : not supported for this version or the enabled extensions 
ERROR: 0:13: '' : missing #endif 
ERROR: 0:13: '' : compilation terminated 
ERROR: 3 compilation errors.  No code generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions