Backport r3502 from trunk to fix wx frontend compilation.

This commit is contained in:
riccardom 2010-04-24 22:41:10 +00:00
parent ba4ba3b2bb
commit 5aa9872c7f
1 changed files with 2 additions and 2 deletions

View File

@ -302,13 +302,13 @@ loop:
}
void mainG(int n) {
if(MainScreen.gpu->dispBG[n])
if(CommonSettings.dispLayers[0][n])
GPU_remove(MainScreen.gpu, n);
else
GPU_addBack(MainScreen.gpu, n);
}
void subG(int n) {
if(SubScreen.gpu->dispBG[n])
if(CommonSettings.dispLayers[1][n])
GPU_remove(SubScreen.gpu, n);
else
GPU_addBack(SubScreen.gpu, n);