diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-06-06 16:31:24 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-06-06 16:31:24 +0000 |
commit | f21a4872e8218c0454107686a531eb0ff19c36bb (patch) | |
tree | c4abf135305b3b953fa7ed6f4f8a140bde9b3931 /src/mesa/main/mtypes.h | |
parent | e0107e87a71ffcddc9400287ee675f0011cdc31b (diff) |
replaced hard-coded 4 with NUM_TEXTURE_TARGETS
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 2864e65b47..cc6c40f7a2 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.76 2002/05/27 17:04:53 brianp Exp $ */ +/* $Id: mtypes.h,v 1.77 2002/06/06 16:31:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -726,6 +726,8 @@ struct gl_stencil_attrib { #define R_BIT 4 #define Q_BIT 8 +#define NUM_TEXTURE_TARGETS 4 /* 1D, 2D, 3D and CUBE */ + /* Texture Enabled flags */ #define TEXTURE0_1D 0x1 /* Texture unit 0 (default) */ #define TEXTURE0_2D 0x2 |