From c8363a31cfcd8e3c60387df31525158847ab1457 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 2 Sep 2003 19:25:17 +0000 Subject: Added support for EXT_texture_mirror_clamp and the single wrap mode that it addes to ATI_texture_mirror_once. This includes updating the texwrap test to exercise the new mode. --- include/GL/gl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/GL') diff --git a/include/GL/gl.h b/include/GL/gl.h index 0f59c8726d..469f464b26 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -2210,6 +2210,18 @@ typedef void (APIENTRY * PFNGLDEPTHBOUNDSEXTPROC)(GLclampd zmin, GLclampd zmax); +/* XXX temporary until glext.h is updated! */ +#ifndef GL_EXT_texture_mirror_clamp +#define GL_EXT_texture_mirror_clamp 1 + +#define GL_MIRROR_CLAMP_EXT 0x8742 +#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 +#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 + +#endif /* GL_EXT_texture_mirror_clamp */ + + + /* XXX temporary until glext.h is updated! */ #ifndef GL_ARB_occlusion_query #define GL_ARB_occlusion_query 1 -- cgit v1.2.3