summaryrefslogtreecommitdiffstats
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-11-08 09:00:46 -0700
committerBrian Paul <brianp@vmware.com>2013-11-11 08:10:12 -0700
commit75982a5df42cd2406e529b7c96b36d2a8b1f7b60 (patch)
tree223bf5fafbd93f62a6eefb05cbe9e38d64039e4a /src/glx/glxclient.h
parent6c6f4aa6fdad19574406ea7edcbcca45d02e89b6 (diff)
downloadexternal_mesa3d-75982a5df42cd2406e529b7c96b36d2a8b1f7b60.zip
external_mesa3d-75982a5df42cd2406e529b7c96b36d2a8b1f7b60.tar.gz
external_mesa3d-75982a5df42cd2406e529b7c96b36d2a8b1f7b60.tar.bz2
glx: change query_renderer_integer() value param to unsigned
When this function was added, the returned value was signed in some places, unsigned in others. v2: also add unsigned in the unit test, per Ian. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index e26a83e..e33dba6 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -477,7 +477,7 @@ struct glx_screen_vtable {
unsigned *error);
int (*query_renderer_integer)(struct glx_screen *psc,
int attribute,
- int *value);
+ unsigned int *value);
int (*query_renderer_string)(struct glx_screen *psc,
int attribute,
const char **value);