summaryrefslogtreecommitdiff
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-07-16 15:54:23 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-07-16 15:54:23 +0000
commita1503b00f863a48a517939a42d512f9cfe77f79c (patch)
treecf8be4ed948b2e97160482c1b7cf4164b8ef9b0b /src/mesa/main/config.h
parentfba5e9546874e1e140a3862b31e35b68832cc22d (diff)
Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 507f499a1f..fa65d611bd 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -1,4 +1,4 @@
-/* $Id: config.h,v 1.33 2001/07/13 20:07:37 brianp Exp $ */
+/* $Id: config.h,v 1.34 2001/07/16 15:54:23 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -152,7 +152,9 @@
* work. 32 doesn't work because of integer overflow problems in the
* rasterizer code.
*/
+#ifndef DEFAULT_SOFTWARE_DEPTH_BITS
#define DEFAULT_SOFTWARE_DEPTH_BITS 16
+#endif
#if DEFAULT_SOFTWARE_DEPTH_BITS <= 16
#define DEFAULT_SOFTWARE_DEPTH_TYPE GLushort
#else