Module: Mesa Branch: master Commit: b674a1d3b9790fc0e118c0dbcc0b39767a313361 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b674a1d3b9790fc0e118c0dbcc0b39767a313361
Author: Konstantin Kharlamov <[email protected]> Date: Fri Dec 29 08:32:30 2017 +0300 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]> --- src/gallium/state_trackers/glx/xlib/glx_getproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_getproc.c b/src/gallium/state_trackers/glx/xlib/glx_getproc.c index 58b476341d..6b94f2c196 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 }, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
