mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-19 09:02:26 +00:00
[VITA] Initialize vita2d_texture to 0
This commit is contained in:
parent
98ecdd9510
commit
c9f3446a90
2
deps/libvita2d/source/vita2d_texture.c
vendored
2
deps/libvita2d/source/vita2d_texture.c
vendored
@ -61,6 +61,8 @@ static vita2d_texture *_vita2d_create_empty_texture_format_advanced(unsigned int
|
||||
if (!texture)
|
||||
return NULL;
|
||||
|
||||
memset(texture, 0, sizeof(vita2d_texture));
|
||||
|
||||
const int tex_size = w * h * tex_format_to_bytespp(format);
|
||||
|
||||
/* Allocate a GPU buffer for the texture */
|
||||
|
Loading…
x
Reference in New Issue
Block a user