mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
progs/tests: Silence uninitialized variable warning.
This commit is contained in:
parent
32d18924df
commit
c9c6e9a39e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue