Commit b480be4c authored by Sam Lantinga's avatar Sam Lantinga

indent

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402606
parent 61130557
...@@ -507,7 +507,7 @@ DirectFB_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, ...@@ -507,7 +507,7 @@ DirectFB_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
(DirectFB_RenderData *) renderer->driverdata; (DirectFB_RenderData *) renderer->driverdata;
DFBResult ret; DFBResult ret;
Uint8 *dpixels; Uint8 *dpixels;
int dpitch; int dpitch;
Uint8 *src, *dst; Uint8 *src, *dst;
int row; int row;
size_t length; size_t length;
...@@ -525,10 +525,10 @@ DirectFB_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, ...@@ -525,10 +525,10 @@ DirectFB_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
src += pitch; src += pitch;
dst += dpitch; dst += dpitch;
} }
SDL_DFB_CHECKERR(data->surface->Unlock(data->surface) ); SDL_DFB_CHECKERR(data->surface->Unlock(data->surface));
return 0; return 0;
error: error:
return 1; return 1;
} }
......
...@@ -89,10 +89,9 @@ X11_GL_LoadLibrary(_THIS, const char *path) ...@@ -89,10 +89,9 @@ X11_GL_LoadLibrary(_THIS, const char *path)
if (!handle) { if (!handle) {
return -1; return -1;
} }
// LoadLibrary may be called before WindowCreate! // LoadLibrary may be called before WindowCreate!
X11_GL_Initialize(_this); X11_GL_Initialize(_this);
/* Load new function pointers */ /* Load new function pointers */
_this->gl_data->glXGetProcAddress = _this->gl_data->glXGetProcAddress =
(void *(*)(const GLubyte *)) GL_LoadFunction(handle, (void *(*)(const GLubyte *)) GL_LoadFunction(handle,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment