mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 09:01:57 -05:00
Dreamcast: Fix game crashing when going back to menu
This commit is contained in:
parent
483dbd9aff
commit
084f1ecbaf
1 changed files with 1 additions and 0 deletions
1
third_party/gldc/src/texture.c
vendored
1
third_party/gldc/src/texture.c
vendored
|
@ -86,6 +86,7 @@ void _glInitTextures() {
|
|||
// Initialize zero as an actual texture object though because apparently it is!
|
||||
TextureObject* default_tex = &TEXTURE_LIST[0];
|
||||
_glInitializeTextureObject(default_tex, 0);
|
||||
texture_id_map_reserve(0);
|
||||
TEXTURE_ACTIVE = default_tex;
|
||||
|
||||
size_t vram_free = pvr_mem_available();
|
||||
|
|
Loading…
Reference in a new issue