mirror of
https://github.com/libretro/libretro-wolfenstein3d.git
synced 2025-02-21 09:20:47 +00:00
Get rid of screenBits variable
This commit is contained in:
parent
4fe951c9bc
commit
dd248fa7fb
@ -27,11 +27,9 @@ void VW_UpdateScreen(void)
|
||||
|
||||
void VL_Startup (void)
|
||||
{
|
||||
screenBits = 16;
|
||||
|
||||
screen = (LR_Surface*)calloc(1, sizeof(*screen));
|
||||
|
||||
screen->surf = LR_SetVideoMode(screenWidth, screenHeight, screenBits, 0);
|
||||
screen->surf = LR_SetVideoMode(screenWidth, screenHeight, 16, 0);
|
||||
|
||||
if(!screen->surf)
|
||||
exit(1);
|
||||
|
2
id_vl.c
2
id_vl.c
@ -8,8 +8,6 @@ boolean fullscreen = false;
|
||||
|
||||
unsigned screenWidth = 320;
|
||||
unsigned screenHeight = 200;
|
||||
unsigned screenBits = -1; // use "best" color depth according to libSDL
|
||||
|
||||
|
||||
LR_Surface *screen = NULL;
|
||||
unsigned screenPitch;
|
||||
|
Loading…
x
Reference in New Issue
Block a user