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,
(DirectFB_RenderData *) renderer->driverdata;
DFBResult ret;
Uint8 *dpixels;
int dpitch;
int dpitch;
Uint8 *src, *dst;
int row;
size_t length;
......@@ -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;
}
......
......@@ -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,
......
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