mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Shut up some more Valgrind errors. (Why is r600_dri.so branching on the frame buffer?)
This commit is contained in:
parent
852842beaf
commit
7938e05b9c
@ -459,7 +459,7 @@ static void *rgui_init(void)
|
|||||||
if (!menu)
|
if (!menu)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
menu->frame_buf.data = (uint16_t*)malloc(400 * 240 * sizeof(uint16_t));
|
menu->frame_buf.data = (uint16_t*)calloc(400 * 240, sizeof(uint16_t));
|
||||||
|
|
||||||
if (!menu->frame_buf.data)
|
if (!menu->frame_buf.data)
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user