aboutsummaryrefslogtreecommitdiff
path: root/xwayland/sockets.h
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2022-07-20 19:21:14 -0400
committerManuel Stoeckl <code@mstoeckl.com>2022-07-20 20:02:46 -0400
commit972a5cdf7a9701a266119d60da48624ca8ebf703 (patch)
treef3bc545a48c836001f78272bca9ea8a01a0bb57c /xwayland/sockets.h
parentadd44b3e2e4ff7ef98b16813fb3c9e1d8b398008 (diff)
render/gles2: simplify alpha depth check
GL_ALPHA_BITS is the number of bits of the alpha channel of the currently bound frame buffer's color buffer -- which is precisely renderer->current_buffer->rbo . Thus, instead of binding the color buffer and checking its properties, we can query the already bound frame buffer. Note that GL_IMPLEMENTATION_COLOR_READ_{FORMAT,TYPE} are also properties of frame buffer's color buffer.
Diffstat (limited to 'xwayland/sockets.h')
0 files changed, 0 insertions, 0 deletions