ignore return value of SDL_GL_CreateContext
This commit is contained in:
parent
7eba046aa4
commit
d9261409e0
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user