From f7e1dfeaefda8865252513bc4d880ea8640efe4d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 17 Feb 2001 00:15:39 +0000 Subject: Work in glGetTexImage() to return GL_COLOR_INDEX images. Prototype code for GL_SGIX_depth_texture / more flexible teximage code. --- src/mesa/main/mtypes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/mtypes.h') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 2e0c1d149d..59cd836c8a 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.18 2001/02/06 21:42:48 brianp Exp $ */ +/* $Id: mtypes.h,v 1.19 2001/02/17 00:15:39 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -788,6 +788,7 @@ struct gl_texture_image { GLubyte IntensityBits; /* color resolution. */ GLubyte LuminanceBits; GLubyte IndexBits; + GLubyte DepthBits; GLuint Border; /* 0 or 1 */ GLuint Width; /* = 2^WidthLog2 + 2*Border */ GLuint Height; /* = 2^HeightLog2 + 2*Border */ @@ -1221,6 +1222,7 @@ struct gl_extensions { GLboolean SGI_color_table; GLboolean SGIS_pixel_texture; GLboolean SGIS_texture_edge_clamp; + GLboolean SGIX_depth_texture; GLboolean SGIX_pixel_texture; GLboolean _3DFX_texture_compression_FXT1; }; -- cgit v1.2.3