Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion vars.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ u8 meshtid[MESH_CNT];

u8 textureheader[256][4],texturereload[256];
u16 texturedata[1048576*5/2];
u32 texturepointer[128];
//senquack - should be [256], judging from its use in zrmloadtextures() in zresm.c:
//u32 texturepointer[128];
u32 texturepointer[256];

u16 meshcount;

Expand Down
4 changes: 3 additions & 1 deletion vars.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ extern u8 meshtid[MESH_CNT];

extern u8 textureheader[256][4],texturereload[256];
extern u16 texturedata[1048576*5/2];
extern u32 texturepointer[128];
//senquack - should be [256], judging from its use in zrmloadtextures() in zresm.c:
//extern u32 texturepointer[128];
extern u32 texturepointer[256];

extern u16 meshcount;

Expand Down
2 changes: 1 addition & 1 deletion zcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ void zcore_video_init(void)
#if defined(GCW)

////////////////////////////////////////////////////////////////////////////////////////
screen=SDL_SetVideoMode(320,240,16, SDL_OPENGL);
screen=SDL_SetVideoMode(320,240,16, SDL_SWSURFACE);

const char* output;

Expand Down