cleaned up ATI extensions

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@23 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2003-01-10 21:31:19 +00:00
parent 5ad3abfe21
commit d8df088431
4 changed files with 20 additions and 0 deletions

View File

@ -118,6 +118,8 @@ name="ATI"><font size="+1"><b>ATI</b></font></a>
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/pn_triangles.txt">ATI_pn_triangles</a><br>
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_separate_stencil</a><br>
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/text_fragment_shader.txt">ATI_text_fragment_shader</a><br>
<a
href="http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATI_texture_env_combine3.txt">ATI_texture_env_combine3</a><br>
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_texture_float</a><br>
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/texture_mirror_once.txt">ATI_texture_mirror_once</a><br>
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/vertex_array_object.txt">ATI_vertex_array_object</a><br>

View File

@ -233,6 +233,7 @@ extern "C" {
#define GL_ATI_pn_triangles 1
#define GL_ATI_separate_stencil 1
#define GL_ATI_text_fragment_shader 1
#define GL_ATI_texture_env_combine3 1
#define GL_ATI_texture_float 1
#define GL_ATI_texture_mirror_once 1
#define GL_ATI_vertex_array_object 1
@ -3369,6 +3370,16 @@ extern GLEW_EXPORT PFNGLSTENCILFUNCSEPARATEATIPROC glStencilFuncSeparateATI;
#endif /* GL_ATI_text_fragment_shader */
/* ----------------------- ATI_texture_env_combine3 ----------------------- */
#ifdef GL_ATI_texture_env_combine3
#define GL_MODULATE_ADD_ATI 0x8744
#define GL_MODULATE_SIGNED_ADD_ATI 0x8745
#define GL_MODULATE_SUBTRACT_ATI 0x8746
#endif /* GL_ATI_texture_env_combine3 */
/* --------------------------- ATI_texture_float -------------------------- */
#ifdef GL_ATI_texture_float
@ -4502,6 +4513,7 @@ struct GLEW
unsigned int ATI_pn_triangles : 1;
unsigned int ATI_separate_stencil : 1;
unsigned int ATI_text_fragment_shader : 1;
unsigned int ATI_texture_env_combine3 : 1;
unsigned int ATI_texture_float : 1;
unsigned int ATI_texture_mirror_once : 1;
unsigned int ATI_vertex_array_object : 1;

View File

@ -2896,6 +2896,9 @@ static GLint _glewInit ()
#ifdef GL_ATI_text_fragment_shader
glew.ATI_texture_float = glewGetExtension("GL_ATI_texture_float");
#endif
#ifdef GL_ATI_texture_env_combine3
glew.ATI_texture_env_combine3 = glewGetExtension("GL_ATI_texture_env_combine3");
#endif
#ifdef GL_ATI_texture_float
glew.ATI_texture_float = glewGetExtension("GL_ATI_texture_float");
#endif

View File

@ -1873,6 +1873,9 @@ static void glewInfo ()
#ifdef GL_ATI_text_fragment_shader
glewPrintExt("GL_ATI_text_fragment_shader", glew.ATI_text_fragment_shader);
#endif
#ifdef GL_ATI_texture_env_combine3
glewPrintExt("GL_ATI_texture_env_combine3", glew.ATI_texture_env_combine3);
#endif
#ifdef GL_ATI_texture_float
glewPrintExt("GL_ATI_texture_float", glew.ATI_texture_float);
#endif