mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
tnl: add const qualifier to silence warning
This commit is contained in:
parent
642bbc6f59
commit
788d9bf121
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ static void bind_indices( struct gl_context *ctx,
|
|||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
struct vertex_buffer *VB = &tnl->vb;
|
||||
GLuint i;
|
||||
void *ptr;
|
||||
const void *ptr;
|
||||
|
||||
if (!ib) {
|
||||
VB->Elts = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue