Commit dd3e79b2 authored by Sunny Sachanandani's avatar Sunny Sachanandani

Oops!

parent 09828c46
...@@ -204,7 +204,7 @@ CheckXRender(Display *display, int *major, int *minor) ...@@ -204,7 +204,7 @@ CheckXRender(Display *display, int *major, int *minor)
return SDL_FALSE; return SDL_FALSE;
} }
if (major != 0 || minor < 10) { if (*major != 0 || *minor < 10) {
return SDL_FALSE; return SDL_FALSE;
} }
...@@ -234,7 +234,7 @@ CheckXFixes(Display *display, int *major, int *minor) ...@@ -234,7 +234,7 @@ CheckXFixes(Display *display, int *major, int *minor)
return SDL_FALSE; return SDL_FALSE;
} }
if (major < 2) { if (*major < 2) {
return SDL_FALSE; return SDL_FALSE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment