OSDN Git Service
(root)
/
android-x86
/
external-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
2d847ef
..
e7ababe
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))