wgl: Combine alpha pixelformat info in color.
[mesa.git] / src / gallium / state_trackers / wgl / shared / stw_context.c
index 6eb1bd08d561acf8238c11ceae9433fe4cec11e2..f7098198c0ed4a7ac291bb14ba2e5dbb389a1536 100644 (file)
@@ -115,7 +115,7 @@ stw_create_layer_context(
       pf->color.redbits,
       pf->color.greenbits,
       pf->color.bluebits,
-      pf->alpha.alphabits,
+      pf->color.alphabits,
       0,
       pf->depth.depthbits,
       pf->depth.stencilbits,