diff --git a/sc2/src/sc2code/libs/graphics/gfx_common.h b/sc2/src/sc2code/libs/graphics/gfx_common.h index aba1202b7..4145d10e0 100644 --- a/sc2/src/sc2code/libs/graphics/gfx_common.h +++ b/sc2/src/sc2code/libs/graphics/gfx_common.h @@ -42,8 +42,6 @@ enum #define TFB_GFXFLAGS_SCALE_BIADAPT (1<<4) #define TFB_GFXFLAGS_SCALE_BIADAPTADV (1<<5) -#define TFB_GFX_NUMSCREENS 3 - int TFB_InitGraphics (int driver, int flags, int width, int height, int bpp); void TFB_UninitGraphics (void); void TFB_ProcessEvents (void); diff --git a/sc2/src/sc2code/libs/graphics/tfb_draw.h b/sc2/src/sc2code/libs/graphics/tfb_draw.h index 1bbfe078f..bb98c23c5 100644 --- a/sc2/src/sc2code/libs/graphics/tfb_draw.h +++ b/sc2/src/sc2code/libs/graphics/tfb_draw.h @@ -26,7 +26,9 @@ typedef void *TFB_Canvas; typedef enum { TFB_SCREEN_MAIN, TFB_SCREEN_EXTRA, - TFB_SCREEN_TRANSITION + TFB_SCREEN_TRANSITION, + + TFB_GFX_NUMSCREENS } SCREEN; typedef struct tfb_palette