mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-23 09:49:34 -10:00
rsx_init(), rsx_font_init(), rsx_overlay_load() and rsx_load_texture_internal() fail cleanly when an RSX allocation does, freeing what they made, and rsx_frame() skips a frame whose texture got no memory. A texture's buffer keeps its size, and a frame larger than it gets a new buffer once the RSX is idle. samples/gfx/rsx_alloc builds the driver on the host against PSL1GHT stand-ins added to tools/platform_stubs/ps3 and fails each allocation in turn; it also builds with mingw.