forked from davidgfnet/opengx
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Bug Report
What's the issue you encountered?
OpenGX crashes in _ogx_shader_draw_done
if no shaders are uploaded.
Here is the function that causes this issue:
https://github.com/devkitPro/opengx/blob/master/src/shader.c#L1092
There is no check for if the current_program
is zero like in other places.
How can the issue be reproduced?
Never use OpenGL shader APIs.
Environment?
Using Windows 11, with the msys2 shell, but I don't think this matters.
Additional context?
If I disable this function things still don't work because the screen turns gray (probably some kind of misuse of the library?!), but I'm not talking about the gray screen issue.
Metadata
Metadata
Assignees
Labels
No labels