Mercurial > sdl-ios-xcode
changeset 2426:aad0c5ccf6bb gsoc2008_iphone
Removed log messages
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Fri, 15 Aug 2008 00:44:07 +0000 |
parents | 491958a6c881 |
children | 32b9909db651 |
files | src/video/glesrenderer/SDL_renderer_gles.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/glesrenderer/SDL_renderer_gles.c Fri Aug 15 00:42:14 2008 +0000 +++ b/src/video/glesrenderer/SDL_renderer_gles.c Fri Aug 15 00:44:07 2008 +0000 @@ -278,12 +278,10 @@ } if (SDL_GL_ExtensionSupported("GL_OES_draw_texture")) { - printf("using draw texture\n"); data->GL_OES_draw_texture_supported = SDL_TRUE; data->useDrawTexture = SDL_TRUE; } else { - printf("not using draw texture\n"); data->GL_OES_draw_texture_supported = SDL_FALSE; data->useDrawTexture = SDL_FALSE; } @@ -309,11 +307,7 @@ GL_RenderData *data = (GL_RenderData *)renderer->driverdata; SDL_Window *window = SDL_GetWindowFromID(renderer->window); - - if (data->context == NULL) { - printf("Context is null, dude\n"); - } - + if (SDL_GL_MakeCurrent(window->id, data->context) < 0) { return -1; }