mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
Remove a compiler warning
This commit is contained in:
parent
ff8130101a
commit
d2ddd9c945
@ -764,7 +764,7 @@ _cogl_draw_indexed_vertex_attributes_array_real (CoglVerticesMode mode,
|
||||
void *base;
|
||||
size_t array_offset;
|
||||
size_t index_size;
|
||||
GLenum indices_gl_type;
|
||||
GLenum indices_gl_type = 0;
|
||||
|
||||
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
|
||||
|
||||
@ -785,6 +785,7 @@ _cogl_draw_indexed_vertex_attributes_array_real (CoglVerticesMode mode,
|
||||
indices_gl_type = GL_UNSIGNED_INT;
|
||||
break;
|
||||
}
|
||||
|
||||
GE (glDrawElements ((GLenum)mode,
|
||||
n_vertices,
|
||||
indices_gl_type,
|
||||
|
Loading…
Reference in New Issue
Block a user