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

Commit

Permalink
Fixed tab spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 8, 2012
1 parent cc8402a commit e326166
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/render/opengles2/SDL_render_gles2.c
Expand Up @@ -178,7 +178,7 @@ GLES2_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event)

if (event->event == SDL_WINDOWEVENT_MINIMIZED) {
/* According to Apple documentation, we need to finish drawing NOW! */
glFinish();
glFinish();
}
}

Expand Down Expand Up @@ -206,29 +206,29 @@ GLES2_DestroyRenderer(SDL_Renderer *renderer)
if (rdata) {
GLES2_ActivateRenderer(renderer);

{
GLES2_ShaderCacheEntry *entry;
GLES2_ShaderCacheEntry *next;
entry = rdata->shader_cache.head;
while (entry)
{
{
GLES2_ShaderCacheEntry *entry;
GLES2_ShaderCacheEntry *next;
entry = rdata->shader_cache.head;
while (entry)
{
glDeleteShader(entry->id);
next = entry->next;
SDL_free(entry);
entry = next;
}
}
{
GLES2_ProgramCacheEntry *entry;
GLES2_ProgramCacheEntry *next;
}
}
{
GLES2_ProgramCacheEntry *entry;
GLES2_ProgramCacheEntry *next;
entry = rdata->program_cache.head;
while (entry) {
glDeleteProgram(entry->id);
next = entry->next;
SDL_free(entry);
entry = next;
}
}
}
if (rdata->context) {
SDL_GL_DeleteContext(rdata->context);
}
Expand Down

0 comments on commit e326166

Please sign in to comment.