wgl: Support the same combinations of single buffer pixel formats.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 3 Mar 2009 17:54:38 +0000 (17:54 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 3 Mar 2009 17:56:22 +0000 (17:56 +0000)
src/gallium/state_trackers/wgl/shared/stw_pixelformat.c

index 5cfdd41597c7e04590fe7a0a7a2099af0ea13eee..2992a1ac0a1e3322764380ddec6460b39f41482a 100644 (file)
@@ -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;