Update wx frontend per GPU changes.

This commit is contained in:
riccardom 2010-04-07 16:18:06 +00:00
parent 0fffdaca01
commit d0f2fdc2e8
1 changed files with 2 additions and 2 deletions

View File

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