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

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 15, 2007
1 parent f8a4c59 commit eb6619e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/video/directfb/SDL_DirectFB_render.c
Expand Up @@ -507,7 +507,7 @@ DirectFB_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
(DirectFB_RenderData *) renderer->driverdata;
DFBResult ret;
Uint8 *dpixels;
int dpitch;
int dpitch;
Uint8 *src, *dst;
int row;
size_t length;
Expand All @@ -525,10 +525,10 @@ DirectFB_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
src += pitch;
dst += dpitch;
}
SDL_DFB_CHECKERR(data->surface->Unlock(data->surface) );
SDL_DFB_CHECKERR(data->surface->Unlock(data->surface));
return 0;
error:
return 1;
error:
return 1;

}

Expand Down
3 changes: 1 addition & 2 deletions src/video/x11/SDL_x11opengl.c
Expand Up @@ -89,10 +89,9 @@ X11_GL_LoadLibrary(_THIS, const char *path)
if (!handle) {
return -1;
}

// LoadLibrary may be called before WindowCreate!
X11_GL_Initialize(_this);

/* Load new function pointers */
_this->gl_data->glXGetProcAddress =
(void *(*)(const GLubyte *)) GL_LoadFunction(handle,
Expand Down

0 comments on commit eb6619e

Please sign in to comment.