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
my os : sonoma osx
i modified source shader code for gles 3-iphone -ipad:
Remove the "glBindFragDataLocation" line. This is not necessary and not supported.
Change the shaders to use #version 300 es
Specify the float precision in the fragment shader by adding this line of code: precision mediump float;
Do not initialize the uniform vec4 color; in the fragment color (not supported).
_gltText2DShader = glCreateProgram();
this line is generate valid handle(example 3). but in gltBeginDraw, glUseProgram's handle is 0(INVALID_HANDLE).
The text was updated successfully, but these errors were encountered: