indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402606
This commit is contained in:
parent
6113055717
commit
b480be4c28
2 changed files with 5 additions and 6 deletions
|
@ -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,
|
||||||
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)
|
||||||
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue