comparison src/video/x11/SDL_x11render.c @ 4575:037ddbeee6c3

Fix typo.
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Fri, 28 May 2010 20:48:58 +0530
parents bfb4933c0efa
children 2b98162b536a
comparison
equal deleted inserted replaced
4574:bfb4933c0efa 4575:037ddbeee6c3
416 Xrender is available at runtime. If it is available there 416 Xrender is available at runtime. If it is available there
417 can be no BadMatch error since Xrender takes care of that. 417 can be no BadMatch error since Xrender takes care of that.
418 */ 418 */
419 #ifdef SDL_VIDEO_DRIVER_X11_XRENDER 419 #ifdef SDL_VIDEO_DRIVER_X11_XRENDER
420 // Assume the texture is supported by Xrender 420 // Assume the texture is supported by Xrender
421 data->xrender_available = TRUE 421 data->xrender_available = SDL_TRUE;
422 if(renderdata->xrender_available == SDL_False) { 422 if(renderdata->xrender_available == SDL_False) {
423 if (texture->format != display->current_mode.format) { 423 if (texture->format != display->current_mode.format) {
424 SDL_SetError("Texture format doesn't match window format"); 424 SDL_SetError("Texture format doesn't match window format");
425 return -1; 425 return -1;
426 } 426 }