projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b307921
)
dri_util: make version var unsigned to silence warnings
author
Brian Paul
<brianp@vmware.com>
Fri, 29 May 2015 17:28:58 +0000
(11:28 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 29 May 2015 19:36:39 +0000
(13:36 -0600)
_mesa_override_gl_version_contextless() takes an unsigned version
parameter.
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/common/dri_util.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/dri_util.c
b/src/mesa/drivers/dri/common/dri_util.c
index 2d847ef7bc879ce2b03edcc3ba2f11e20e31691c..e7ababe0b6775a7228d6c4c2f4085e54aa6d36a1 100644
(file)
--- a/
src/mesa/drivers/dri/common/dri_util.c
+++ b/
src/mesa/drivers/dri/common/dri_util.c
@@
-164,7
+164,7
@@
driCreateNewScreen2(int scrn, int fd,
struct gl_constants consts = { 0 };
gl_api api;
-
int
version;
+
unsigned
version;
api = API_OPENGLES2;
if (_mesa_override_gl_version_contextless(&consts, &api, &version))