Mercurial > sdl-ios-xcode
comparison src/video/SDL_renderer_gles.c @ 3169:f294338ca6eb
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 07 Jun 2009 02:45:55 +0000 |
parents | 7168651d5706 |
children | 3fe2248fde37 |
comparison
equal
deleted
inserted
replaced
3168:6338b7f2d024 | 3169:f294338ca6eb |
---|---|
266 | 266 |
267 #if defined(__QNXNTO__) | 267 #if defined(__QNXNTO__) |
268 #if _NTO_VERSION<=641 | 268 #if _NTO_VERSION<=641 |
269 /* QNX's OpenGL ES implementation is broken regarding */ | 269 /* QNX's OpenGL ES implementation is broken regarding */ |
270 /* packed textures support, affected versions 6.3.2, 6.4.0, 6.4.1 */ | 270 /* packed textures support, affected versions 6.3.2, 6.4.0, 6.4.1 */ |
271 renderer->info.num_texture_formats=2; | 271 renderer->info.num_texture_formats = 2; |
272 renderer->info.texture_formats[0]=SDL_PIXELFORMAT_ABGR8888; | 272 renderer->info.texture_formats[0] = SDL_PIXELFORMAT_ABGR8888; |
273 renderer->info.texture_formats[1]=SDL_PIXELFORMAT_BGR24; | 273 renderer->info.texture_formats[1] = SDL_PIXELFORMAT_BGR24; |
274 #endif /* _NTO_VERSION */ | 274 #endif /* _NTO_VERSION */ |
275 #endif /* __QNXNTO__ */ | 275 #endif /* __QNXNTO__ */ |
276 | 276 |
277 if (GLES_LoadFunctions(data) < 0) { | 277 if (GLES_LoadFunctions(data) < 0) { |
278 GLES_DestroyRenderer(renderer); | 278 GLES_DestroyRenderer(renderer); |