projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e1ceff
)
fix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 18 Oct 2002 13:40:59 +0000
(13:40 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 18 Oct 2002 13:40:59 +0000
(13:40 +0000)
src/mesa/swrast/s_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texture.c
b/src/mesa/swrast/s_texture.c
index c5dc960db922882eb6ec3158f9ecc4457e261b73..b415bf92e2ea6ec3fee6495ca86612b717290ff1 100644
(file)
--- a/
src/mesa/swrast/s_texture.c
+++ b/
src/mesa/swrast/s_texture.c
@@
-1,4
+1,4
@@
-/* $Id: s_texture.c,v 1.
69 2002/10/04 23:10:06 kschultz
Exp $ */
+/* $Id: s_texture.c,v 1.
70 2002/10/18 13:40:59 brianp
Exp $ */
/*
* Mesa 3-D graphics library
@@
-97,6
+97,7
@@
U = 1.0F - (S - (GLfloat) flr); /* flr is odd */ \
else \
U = S - (GLfloat) flr; /* flr is even */ \
+ U = (U * SIZE) - 0.5; \
I0 = IFLOOR(U); \
I1 = I0 + 1; \
if (I0 < 0) \