gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()
authorBrian Paul <brianp@vmware.com>
Fri, 2 Oct 2009 13:52:27 +0000 (07:52 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Oct 2009 13:52:29 +0000 (07:52 -0600)
commit85ee0ef9a72e4ffd6ed0a2442b1272a43508d257
treeec16988d7d40eed204df01d57051d820b3c9ea79
parent584b0879ac2ec2420ea6866e47eb90e1a980e758
gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()

The parameter is a bitmask.
src/gallium/state_trackers/glx/xlib/glx_api.c