fix some compiler warnings

This commit is contained in:
FunkyFr3sh 2023-09-06 20:06:03 +02:00
parent f4fd9bfe3d
commit 60d85725f5
4 changed files with 6 additions and 6 deletions

View file

@ -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;