mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 14:05:39 +00:00
Fixed uninitialized variable warning
This commit is contained in:
parent
61201e06ef
commit
8a15a738f3
|
@ -493,7 +493,7 @@ GLES2_CacheProgram(GLES2_RenderData *data, GLuint vertex, GLuint fragment)
|
||||||
static GLuint
|
static GLuint
|
||||||
GLES2_CacheShader(GLES2_RenderData *data, GLES2_ShaderType type, GLenum shader_type)
|
GLES2_CacheShader(GLES2_RenderData *data, GLES2_ShaderType type, GLenum shader_type)
|
||||||
{
|
{
|
||||||
GLuint id;
|
GLuint id = 0;
|
||||||
GLint compileSuccessful = GL_FALSE;
|
GLint compileSuccessful = GL_FALSE;
|
||||||
int attempt, num_src;
|
int attempt, num_src;
|
||||||
const GLchar *shader_src_list[2];
|
const GLchar *shader_src_list[2];
|
||||||
|
|
Loading…
Reference in a new issue