mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +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)
|
||||
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)
|
||||
goto error;
|
||||
|
Loading…
Reference in New Issue
Block a user