summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorErik Kurzinger <ekurzinger@nvidia.com>2020-11-13 14:36:14 -0800
committerAdam Jackson <ajax@nwnk.net>2020-11-26 20:07:55 +0000
commit95b79aa907789a16f736097abe959e906f86f63a (patch)
treeb8359ab78fa2241d3eabfad8627b4d95cc332ddf /config
parent9c81b8f5b5d7bc987f73e8ef01a81e61205e58ee (diff)
GLX: fix context render type queries
Querying the GLX_RENDER_TYPE of a GLX context via glXQueryContext will currently return the render type of the context's FB config, which is a bitmask of GLX_RGBA_BIT / GLX_COLOR_INDEX_BIT / ... values. However, this query should really return the render type that was specified when creating the context, which is one of GLX_RGBA_TYPE / GLX_COLOR_INDEX_TYPE / .... To enable this, save the render type when creating a new context (defaulting to GLX_RGBA_TYPE if unspecified), and then include this value in the context attributes sent to clients.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions