Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Holmes Futrell committed Aug 15, 2008
1 parent a55cce4 commit baaaa5d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/video/glesrenderer/SDL_renderer_gles.c
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit baaaa5d

Please sign in to comment.