mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
fix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)
This commit is contained in:
parent
6e1ceff48b
commit
6ac04f2fc6
1 changed files with 2 additions and 1 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue