From: José Fonseca Date: Fri, 8 May 2009 13:23:45 +0000 (+0100) Subject: wgl: Grow the maximum number of pixel formats to cope with the new accum pixel formats. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6e226109612057762eb7d0bf73f39a93c69e6c3;p=mesa.git wgl: Grow the maximum number of pixel formats to cope with the new accum pixel formats. Fix a segfault when using softpipe. --- diff --git a/src/gallium/state_trackers/wgl/shared/stw_device.h b/src/gallium/state_trackers/wgl/shared/stw_device.h index 969e3843e76..e097f1f71e0 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;