wgl: Grow the maximum number of pixel formats to cope with the new accum pixel formats.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 8 May 2009 13:23:45 +0000 (14:23 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 8 May 2009 13:57:30 +0000 (14:57 +0100)
Fix a segfault when using softpipe.

src/gallium/state_trackers/wgl/shared/stw_device.h

index 969e3843e76f8aca5728d6ef6b5d91bcd9fedfe7..e097f1f71e04cbebb7ac4699590fd8ccf558a000 100644 (file)
@@ -37,7 +37,7 @@
 #include "stw_pixelformat.h"
 
 
-#define STW_MAX_PIXELFORMATS   128
+#define STW_MAX_PIXELFORMATS   256
 
 
 struct pipe_screen;