fix some compiler warnings
This commit is contained in:
parent
f4fd9bfe3d
commit
60d85725f5
4 changed files with 6 additions and 6 deletions
|
@ -280,8 +280,8 @@ GLuint oglu_build_program(GLchar* vert_source, GLchar* frag_source, BOOL core_pr
|
|||
if (!vert_shader || !frag_shader)
|
||||
return 0;
|
||||
|
||||
glShaderSource(vert_shader, 1, &vert_source, NULL);
|
||||
glShaderSource(frag_shader, 1, &frag_source, NULL);
|
||||
glShaderSource(vert_shader, 1, (const GLchar**)&vert_source, NULL);
|
||||
glShaderSource(frag_shader, 1, (const GLchar**)&frag_source, NULL);
|
||||
|
||||
GLint is_compiled = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue