Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,
authorEric Anholt <anholt@FreeBSD.org>
Mon, 24 Oct 2005 08:02:44 +0000 (08:02 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Mon, 24 Oct 2005 08:02:44 +0000 (08:02 +0000)
commit9192ab3f5d90d27d852fbd23dc44f5062e399f62
tree7a0eb3b00efb1a341488425911ab0778ca3804f9
parent6efd595bf5a18186ffe159566710ba037442967e
Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,
tested using texwrap, fixing the sourcing of border constant values (use the
bytes, not the floats!).  Remove the fallback on GL_CLAMP_TO_EDGE, which acts
properly, and add a note to GL_CLAMP about nonconformance (whcih is what the
fallback for CLAMP_TO_EDGE was probably targeting).
src/mesa/drivers/dri/sis/sis_context.c
src/mesa/drivers/dri/sis/sis_texstate.c