aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c b/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
index ac2d6fc2605..f15b950bf08 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
@@ -40,7 +40,7 @@ struct extension_entry
#define EXTENTRY(P) { #P, (PROC) P }
-static struct extension_entry extension_entries[] = {
+static const struct extension_entry extension_entries[] = {
/* WGL_ARB_extensions_string */
EXTENTRY( wglGetExtensionsStringARB ),
@@ -57,9 +57,9 @@ PROC
stw_get_proc_address(
LPCSTR lpszProc )
{
- struct extension_entry *entry;
+ const struct extension_entry *entry;
- PROC p = (PROC) _glapi_get_proc_address( (const char *) lpszProc );
+ PROC p = (PROC) _glapi_get_proc_address( lpszProc );
if (p)
return p;