# HG changeset patch # User Holmes Futrell # Date 1218761047 0 # Node ID aad0c5ccf6bbcb4a892da9521de6408f25b8ec8b # Parent 491958a6c8811e2cc771d99028120237d903cfbb Removed log messages diff -r 491958a6c881 -r aad0c5ccf6bb src/video/glesrenderer/SDL_renderer_gles.c --- 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; }