summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-19 20:08:52 -0700
committerBrian Paul <[email protected]>2012-02-24 08:03:06 -0700
commit99d22c4e3859b17ac1d5102f54b1a6d275d572bb (patch)
tree56c15135bd7e2ab1172fd723a83a926640c53cc9 /src
parented65c5ccc3d15c350965f669d6891813c0ba8bcc (diff)
mesa: remove WIN32 MAX_WIDTH work-around in config.h
There aren't any more stack-allocated arrays dimensioned by MAX_WIDTH so there shouldn't be any more stack overflows.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/config.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 7b7740ebe4f..612b7190970 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -153,23 +153,6 @@
# define MAX_HEIGHT 16384
#endif
-/* XXX: hack to prevent stack overflow on windows until all temporary arrays
- * [MAX_WIDTH] are allocated from the heap */
-#ifdef WIN32
-#undef MAX_TEXTURE_LEVELS
-#undef MAX_3D_TEXTURE_LEVELS
-#undef MAX_CUBE_TEXTURE_LEVELS
-#undef MAX_TEXTURE_RECT_SIZE
-#undef MAX_WIDTH
-#undef MAX_HEIGHT
-#define MAX_TEXTURE_LEVELS 13
-#define MAX_3D_TEXTURE_LEVELS 9
-#define MAX_CUBE_TEXTURE_LEVELS 13
-#define MAX_TEXTURE_RECT_SIZE 4096
-#define MAX_WIDTH 4096
-#define MAX_HEIGHT 4096
-#endif
-
/** Maxmimum size for CVA. May be overridden by the drivers. */
#define MAX_ARRAY_LOCK_SIZE 3000