(GL) Initialize buffer and buffer_texture to NULL

This commit is contained in:
twinaphex 2015-03-16 16:27:40 +01:00
parent 29e3c79e8b
commit 1edddcbd98

View File

@ -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];