diff options
author | Konstantin Kharlamov <[email protected]> | 2017-12-29 08:32:30 +0300 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-07-17 14:47:37 -0400 |
commit | b674a1d3b9790fc0e118c0dbcc0b39767a313361 (patch) | |
tree | 0de803404b058147ea1326966f492a1eb175ffb6 | |
parent | 1379d9759fb7f1359b4a43380a0e99f3c2ca5985 (diff) |
st/glx: constify some variables
Just a nice hint for both peoples and compilers.
Signed-off-by: Konstantin Kharlamov <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/glx_getproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_getproc.c b/src/gallium/state_trackers/glx/xlib/glx_getproc.c index 58b476341db..6b94f2c1960 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_getproc.c +++ b/src/gallium/state_trackers/glx/xlib/glx_getproc.c @@ -43,7 +43,7 @@ struct name_address_pair { }; -static struct name_address_pair GLX_functions[] = { +static const struct name_address_pair GLX_functions[] = { /*** GLX_VERSION_1_0 ***/ { "glXChooseVisual", (__GLXextFuncPtr) glXChooseVisual }, { "glXCopyContext", (__GLXextFuncPtr) glXCopyContext }, |