diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-03-03 17:54:38 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-03-03 17:56:22 +0000 |
commit | 317a7da2c452f35ef627aec6fc4d31406758725d (patch) | |
tree | 9a44941f776b5013e3e5f011d01d6d0d2a31501e /src | |
parent | 39a1a24b3fed6afa24a4db70ad4e3f128c24c815 (diff) |
wgl: Support the same combinations of single buffer pixel formats.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_pixelformat.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c index 5cfdd41597..2992a1ac0a 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c +++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c @@ -76,6 +76,18 @@ add_standard_pixelformats( 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; pf->depth = depth16; pf++; |