comparison src/video/x11/SDL_x11render.c @ 4624:b70b99ab75b8

Oops!
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Wed, 28 Jul 2010 15:35:18 +0530
parents 10175d54adf4
children 44fd1f0b895a
comparison
equal deleted inserted replaced
4623:10175d54adf4 4624:b70b99ab75b8
202 202
203 if (!XRenderQueryVersion(display, major, minor)) { 203 if (!XRenderQueryVersion(display, major, minor)) {
204 return SDL_FALSE; 204 return SDL_FALSE;
205 } 205 }
206 206
207 if (major != 0 || minor < 10) { 207 if (*major != 0 || *minor < 10) {
208 return SDL_FALSE; 208 return SDL_FALSE;
209 } 209 }
210 210
211 return SDL_TRUE; 211 return SDL_TRUE;
212 } 212 }
232 232
233 if (!XFixesQueryVersion(display, major, minor)) { 233 if (!XFixesQueryVersion(display, major, minor)) {
234 return SDL_FALSE; 234 return SDL_FALSE;
235 } 235 }
236 236
237 if (major < 2) { 237 if (*major < 2) {
238 return SDL_FALSE; 238 return SDL_FALSE;
239 } 239 }
240 240
241 return SDL_TRUE; 241 return SDL_TRUE;
242 } 242 }