summaryrefslogtreecommitdiff
path: root/progs/samples/overlay.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-04-12 15:18:07 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-04-12 15:18:07 +0000
commit608889d18f78727753d63d0f867ec4d216e04c4c (patch)
tree3f1f30919e4d464a6e4a1f91ef2964b8e7a5e71b /progs/samples/overlay.c
parent93de8d3d8617e991c091f29236dc7316203a5b8d (diff)
Moved FRAC macro out of mmath.h into s_texture.c since it's only used there
and doesn't do what one might expect for negative values. Reimplemented FRAC in terms of floor() to fix glitches seen in tests/texwrap.c. Minor fix for problem with GL_CLAMP_TO_BORDER_ARB with GL_NEAREST sampling.
Diffstat (limited to 'progs/samples/overlay.c')
0 files changed, 0 insertions, 0 deletions