projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8448680
)
python: Force unsigned comparison.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 30 Mar 2009 16:09:03 +0000
(17:09 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 30 Mar 2009 16:19:11 +0000
(17:19 +0100)
src/gallium/state_trackers/python/p_texture.i
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/p_texture.i
b/src/gallium/state_trackers/python/p_texture.i
index b97d1889737dedf96237910b86c73862369e06b6..47bcd4ba3c6af8e4b236e307daef940839daa670 100644
(file)
--- a/
src/gallium/state_trackers/python/p_texture.i
+++ b/
src/gallium/state_trackers/python/p_texture.i
@@
-84,7
+84,7
@@
{
struct st_surface *surface;
- if(face >= ($self->target == PIPE_TEXTURE_CUBE ? 6
: 1
))
+ if(face >= ($self->target == PIPE_TEXTURE_CUBE ? 6
U : 1U
))
SWIG_exception(SWIG_ValueError, "face out of bounds");
if(level > $self->last_level)
SWIG_exception(SWIG_ValueError, "level out of bounds");