From: José Fonseca Date: Tue, 3 Mar 2009 17:54:38 +0000 (+0000) Subject: wgl: Support the same combinations of single buffer pixel formats. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=317a7da2c452f35ef627aec6fc4d31406758725d;p=mesa.git wgl: Support the same combinations of single buffer pixel formats. --- diff --git a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c index 5cfdd41597c..2992a1ac0a1 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c +++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c @@ -74,6 +74,18 @@ add_standard_pixelformats( pf->depth = depth24s8; pf++; + pf->flags = flags; + pf->color = color24; + pf->alpha = alpha8; + pf->depth = depth16; + pf++; + + pf->flags = flags; + pf->color = color24; + pf->alpha = alpha8; + pf->depth = depth24s8; + pf++; + pf->flags = flags; pf->color = color24; pf->alpha = noalpha;