progs/tests: Silence uninitialized variable warning.

This commit is contained in:
Vinson Lee 2010-01-02 21:58:40 -08:00
parent 32d18924df
commit c9c6e9a39e
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ exercise_buffer_objects(enum Map_Buffer_Usage usage)
GLuint bufferID;
GLint bufferMapped;
static GLubyte data[BUFFER_DATA_SIZE] = {0};
float *dataPtr;
float *dataPtr = NULL;
/* Get the function pointers we need. These are from
* GL_ARB_vertex_buffer_object and are required in all