Skip to content

Commit

Permalink
Dreamcast: Fix game crashing when going back to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Apr 26, 2024
1 parent 483dbd9 commit 084f1ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions third_party/gldc/src/texture.c
Expand Up @@ -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();
Expand Down

0 comments on commit 084f1ec

Please sign in to comment.