From a864432fb4333dfbbe669554de7485d8426e1c38 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 27 Nov 2000 18:22:13 +0000 Subject: Added MaxClipPlanes and MaxLights to gl_constants struct so T&L drivers can report non-default numbers of lights and clip planes. --- 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 e18bdda81b..41c1000c1d 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.2 2000/11/24 10:25:05 keithw Exp $ */ +/* $Id: mtypes.h,v 1.3 2000/11/27 18:22:13 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1165,6 +1165,8 @@ struct gl_constants { GLuint MaxConvolutionHeight; GLuint NumCompressedTextureFormats; /* GL_ARB_texture_compression */ GLenum CompressedTextureFormats[MAX_COMPRESSED_TEXTURE_FORMATS]; + GLuint MaxClipPlanes; + GLuint MaxLights; }; -- cgit v1.2.3