You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like in other places it would be useful to somehow tell the Stage what ShapeRenderer to use. Right now the attribute Stage.debugShapes (of type ShapeRenderer) is private and has no non private accessors. To support lazy creation an overrideable makeDebugShapeRenderer() could be offered to override the default behavior on demand.
The text was updated successfully, but these errors were encountered:
Yes, it seems to be a MacOS-only issue. Thank you for the insights.
I share your opinion that it would be nice if libGDX would work with GL30 on all platforms out of the box. However, making the stage's debug shape renderer customizable would be useful regardless of whether the default shader works.
Issue details
When trying to draw UI debug stuff with OpenGL3 the application crashes due to the shape renderer not using GLES30 compliant GLSL syntax.
Reproduction steps/code
The configuration on Lwjgl3ApplicationConfiguration:
I then enabled the debug drawing mode using:
stage.isDebugAll = isChecked
Version of libGDX and/or relevant dependencies
1.12.1
Stacktrace
Potential solution
Like in other places it would be useful to somehow tell the Stage what ShapeRenderer to use. Right now the attribute Stage.debugShapes (of type ShapeRenderer) is private and has no non private accessors. To support lazy creation an overrideable makeDebugShapeRenderer() could be offered to override the default behavior on demand.
The text was updated successfully, but these errors were encountered: