[Glide64] Fix compile bug

This commit is contained in:
zilmar 2017-01-03 16:13:17 +11:00
parent 9e61c684d6
commit bfb64dc458
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ void compile_shader()
}
GLuint fragment_shader_object = CompileShader(GL_FRAGMENT_SHADER, fragment_shader);
GLuint vertex_shader_object = CompileShader(GL_VERTEX_SHADER, vertex_shader);
GLuint vertex_shader_object = CompileShader(GL_VERTEX_SHADER, g_vertex_shader);
GLuint program_object = glCreateProgram();
shader_program.program_object = program_object;