mesa: gl_config::rgbBits should count alphaBits too
authorAdam Jackson <ajax@redhat.com>
Tue, 6 Apr 2021 19:36:51 +0000 (15:36 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Apr 2021 21:43:04 +0000 (21:43 +0000)
commit0a6e726bfbb6f57a16fd729210e7ce22403f03ba
tree78e523accb1258c7466e03dbe93986a286fe5753
parent8343dfe05955402d5ee1629fdcc002d00421a68b
mesa: gl_config::rgbBits should count alphaBits too

This backs {EGL,GLX}_BUFFER_SIZE, which explicitly include alpha.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1648>
src/mesa/main/context.c
src/mesa/main/framebuffer.c