Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed log messages

  • Loading branch information
Holmes Futrell committed Aug 15, 2008
1 parent a55cce4 commit baaaa5d0a44025b4ee3e0fa4885679f92ed4abf5
Showing with 1 addition and 7 deletions.
  1. +1 −7 src/video/glesrenderer/SDL_renderer_gles.c
@@ -278,12 +278,10 @@ GL_CreateRenderer(SDL_Window * window, Uint32 flags)
}

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 @@ static int GL_ActivateRenderer(SDL_Renderer * renderer)

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;
}

0 comments on commit baaaa5d

Please sign in to comment.