Fix compiler warning on implicit GLuint* to GLint* conversion.

This commit is contained in:
themixedupstuff committed 2024-12-09 17:30:04 +03:00
1 parent d763456655
commit 04c0bf2f17
1 file changed
+1 -1
+1 -1
View File
@@ -149,7 +149,7 @@ boolean OglSdlSurface(INT32 w, INT32 h)
gl_version = pglGetString(GL_VERSION);
gl_renderer = pglGetString(GL_RENDERER);
gl_extensions = pglGetString(GL_EXTENSIONS);
pglGetIntegerv(GL_NUM_EXTENSIONS, &gl_num_extensions);
pglGetIntegerv(GL_NUM_EXTENSIONS, (GLint*)&gl_num_extensions);
gl_vendor = pglGetString(GL_VENDOR);
GL_DBG_Printf("OpenGL %s\n", gl_version);