mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
build fix
This commit is contained in:
parent
518b53e21c
commit
e09b7fb60c
@ -272,7 +272,7 @@ static bool gx_convert_texture32(struct texture_image *image)
|
||||
{
|
||||
// memory allocation in libogc is extremely primitive so try to avoid gaps in memory when converting
|
||||
// by copying over to temp buffer first then converting over into main buffer again
|
||||
void *tmp = malloc(width * height * sizeof(uint32_t));
|
||||
void *tmp = malloc(image->width * image->height * sizeof(uint32_t));
|
||||
|
||||
if (!tmp)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user