Doh! Compile error if there was no X11 shared image support
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40552
This commit is contained in:
parent
dc970b9478
commit
2cd7450f7b
1 changed files with 2 additions and 1 deletions
|
@ -103,8 +103,9 @@ int X11_SetupImage(_THIS, SDL_Surface *screen)
|
|||
}
|
||||
this->UpdateRects = X11_MITSHMUpdate;
|
||||
}
|
||||
if(!use_mitshm)
|
||||
#endif /* not NO_SHARED_MEMORY */
|
||||
if(!use_mitshm) {
|
||||
{
|
||||
int bpp;
|
||||
screen->pixels = malloc(screen->h*screen->pitch);
|
||||
if ( screen->pixels == NULL ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue