mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 03:40:22 +01:00
glx/dri3: fix glXQueryContext does not return GLX_RENDER_TYPE value
Cc: mesa-stable
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13772>
(cherry picked from commit cee1dd92bd)
This commit is contained in:
parent
7bde2ce13f
commit
b2e5b6757a
2 changed files with 3 additions and 1 deletions
|
|
@ -2164,7 +2164,7 @@
|
|||
"description": "glx/dri3: fix glXQueryContext does not return GLX_RENDER_TYPE value",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -306,6 +306,8 @@ dri3_create_context_attribs(struct glx_screen *base,
|
|||
pcp->base.noError = GL_TRUE;
|
||||
}
|
||||
|
||||
pcp->base.renderType = dca.render_type;
|
||||
|
||||
pcp->driContext =
|
||||
(*psc->image_driver->createContextAttribs) (psc->driScreen,
|
||||
dca.api,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue