mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(PS2) Buildfix
This commit is contained in:
parent
1a854021a4
commit
083a0453c6
@ -102,7 +102,7 @@ static void init_ps2_video(ps2_video_t *ps2)
|
||||
ps2->iface.coreTexture = ps2->coreTexture;
|
||||
}
|
||||
|
||||
static void deinit_texture(GSTEXTURE *texture)
|
||||
static void ps2_gfx_deinit_texture(GSTEXTURE *texture)
|
||||
{
|
||||
texture->Mem = NULL;
|
||||
texture->Clut = NULL;
|
||||
@ -386,8 +386,8 @@ static void ps2_gfx_free(void *data)
|
||||
|
||||
font_driver_free_osd();
|
||||
|
||||
deinit_texture(ps2->menuTexture);
|
||||
deinit_texture(ps2->coreTexture);
|
||||
ps2_gfx_deinit_texture(ps2->menuTexture);
|
||||
ps2_gfx_deinit_texture(ps2->coreTexture);
|
||||
|
||||
free(ps2->menuTexture);
|
||||
free(ps2->coreTexture);
|
||||
|
@ -45,7 +45,7 @@ static u32 gsKit_fontm_clut[16] = {
|
||||
0x80CCCCCC, 0x80DDDDDD, 0x80EEEEEE, 0x80FFFFFF
|
||||
};
|
||||
|
||||
static void deinit_texture(GSTEXTURE *texture)
|
||||
static void deinit_gsfont_texture(GSTEXTURE *texture)
|
||||
{
|
||||
if (texture->Mem)
|
||||
free(texture->Mem);
|
||||
@ -58,7 +58,7 @@ static void deinit_texture(GSTEXTURE *texture)
|
||||
|
||||
static void deinit_gsfont(GSFONTM *gsFontM)
|
||||
{
|
||||
deinit_texture(gsFontM->Texture);
|
||||
deinit_gsfont_texture(gsFontM->Texture);
|
||||
free(gsFontM->TexBase);
|
||||
gsFontM->TexBase = NULL;
|
||||
free(gsFontM);
|
||||
|
Loading…
Reference in New Issue
Block a user