ignore return value of SDL_GL_CreateContext
This commit is contained in:
1 parent
7eba046aa4
commit
d9261409e0
1 file changed
+1
-1
+1
-1
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
|
||||
return 2;
|
||||
}
|
||||
|
||||
SDL_GLContext gl_context = SDL_GL_CreateContext(window);
|
||||
(void)SDL_GL_CreateContext(window);
|
||||
|
||||
if (gl3wInit() != 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user