summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-05-08 14:23:45 +0100
committerKeith Whitwell <keithw@vmware.com>2009-05-08 14:57:30 +0100
commitb6e226109612057762eb7d0bf73f39a93c69e6c3 (patch)
treeb446dbb216260e17352ed8c046ac9d28616efeee
parente90beb93a89f77bffce8ab3d54457ea65868e93c (diff)
wgl: Grow the maximum number of pixel formats to cope with the new accum pixel formats.
Fix a segfault when using softpipe.
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_device.h b/src/gallium/state_trackers/wgl/shared/stw_device.h
index 969e3843e7..e097f1f71e 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_device.h
+++ b/src/gallium/state_trackers/wgl/shared/stw_device.h
@@ -37,7 +37,7 @@
#include "stw_pixelformat.h"
-#define STW_MAX_PIXELFORMATS 128
+#define STW_MAX_PIXELFORMATS 256
struct pipe_screen;