mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-03 10:13:11 +00:00
(GL) Initialize buffer and buffer_texture to NULL
This commit is contained in:
parent
29e3c79e8b
commit
1edddcbd98
@ -2769,9 +2769,9 @@ static void* gl_read_frame_raw(void *data, unsigned *width_p,
|
||||
unsigned *height_p, size_t *pitch_p)
|
||||
{
|
||||
#ifdef HAVE_FBO
|
||||
void* buffer;
|
||||
void* buffer = NULL;
|
||||
#endif
|
||||
void* buffer_texture;
|
||||
void* buffer_texture = NULL;
|
||||
int i;
|
||||
gl_t *gl = (gl_t*)data;
|
||||
unsigned width = gl->last_width[gl->tex_index];
|
||||
|
Loading…
x
Reference in New Issue
Block a user