Fixed uninitialized variable warning

(cherry picked from commit 8a15a738f3)
This commit is contained in:
Sam Lantinga committed 2022-10-04 12:33:16 -07:00
1 parent 949addc94e
commit 284cf11778
1 file changed
+1 -1
+1 -1
View File
@@ -493,7 +493,7 @@ GLES2_CacheProgram(GLES2_RenderData *data, GLuint vertex, GLuint fragment)
static GLuint
GLES2_CacheShader(GLES2_RenderData *data, GLES2_ShaderType type, GLenum shader_type)
{
GLuint id;
GLuint id = 0;
GLint compileSuccessful = GL_FALSE;
int attempt, num_src;
const GLchar *shader_src_list[2];