From 083e466f88e1203f08b7699fa34b05d0e45b3172 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 14 Dec 2000 20:25:56 +0000 Subject: Renamed texture object _P to _MaxLevel and _M to _MaxLambda. Now add BaseLevel in _MaxLevel computation. --- src/mesa/main/mtypes.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/mtypes.h') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 7267670..c6b4ac9 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.5 2000/12/08 00:20:15 brianp Exp $ */ +/* $Id: mtypes.h,v 1.6 2000/12/14 20:25:56 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -786,10 +786,10 @@ struct gl_texture_object { GLenum MagFilter; /* magnification filter */ GLfloat MinLod; /* OpenGL 1.2 */ GLfloat MaxLod; /* OpenGL 1.2 */ - GLint BaseLevel; /* OpenGL 1.2 */ - GLint MaxLevel; /* OpenGL 1.2 */ - GLint _P; /* Highest mipmap level */ - GLfloat _M; /* = MIN(MaxLevel, P) - BaseLevel */ + GLint BaseLevel; /* user-specified, OpenGL 1.2 */ + GLint MaxLevel; /* user-specified, OpenGL 1.2 */ + GLint _MaxLevel; /* actual max mipmap level (q in the spec) */ + GLfloat _MaxLambda; /* = _MaxLevel - BaseLevel (q - b in spec) */ struct gl_texture_image *Image[MAX_TEXTURE_LEVELS]; /* Texture cube faces */ -- cgit v1.1