st/glx: constify some variables

Just a nice hint for both peoples and compilers.

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Konstantin Kharlamov 2017-12-29 08:32:30 +03:00 committed by Marek Olšák
parent 1379d9759f
commit b674a1d3b9

View file

@ -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 },