mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
mesa: don't cast away const
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
2bb91274e2
commit
75fe7d1995
1 changed files with 1 additions and 1 deletions
|
|
@ -940,7 +940,7 @@ _mesa_get_enabled_extension(struct gl_context *ctx, GLuint index)
|
|||
n = 0;
|
||||
for (i = extension_table; i->name != 0; ++i) {
|
||||
if (n == index && base[i->offset]) {
|
||||
return (GLubyte*) i->name;
|
||||
return (const GLubyte*) i->name;
|
||||
} else if (base[i->offset]) {
|
||||
++n;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue