mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
ClearVRAM detection improved
This commit is contained in:
parent
f7c9bc4e61
commit
3706aa9904
@ -418,6 +418,7 @@ static bool ps2_get_hw_render_interface(void* data,
|
||||
const struct retro_hw_render_interface** iface)
|
||||
{
|
||||
ps2_video_t* ps2 = (ps2_video_t*)data;
|
||||
ps2->iface.clearTexture = ps2->clearVRAM;
|
||||
*iface = (const struct retro_hw_render_interface*)&ps2->iface;
|
||||
return true;
|
||||
}
|
||||
|
@ -47,6 +47,7 @@ struct retro_hw_render_interface_gskit_ps2
|
||||
* in this interface.
|
||||
*/
|
||||
GSTEXTURE *coreTexture;
|
||||
bool clearTexture;
|
||||
};
|
||||
typedef struct retro_hw_render_interface_gskit_ps2 RETRO_HW_RENDER_INTEFACE_GSKIT_PS2;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user