mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
glx: Default sRGBCapable in the same place as the other config attribs
Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9992>
This commit is contained in:
parent
dc265008c7
commit
a7474f19d4
2 changed files with 1 additions and 3 deletions
|
|
@ -249,7 +249,7 @@ glx_config_create_list(unsigned count)
|
|||
(*next)->bindToMipmapTexture = GLX_DONT_CARE;
|
||||
(*next)->bindToTextureTargets = GLX_DONT_CARE;
|
||||
(*next)->yInverted = GLX_DONT_CARE;
|
||||
(*next)->sRGBCapable = GLX_DONT_CARE;
|
||||
(*next)->sRGBCapable = GL_FALSE;
|
||||
|
||||
next = &((*next)->next);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -651,8 +651,6 @@ createConfigsFromProperties(Display * dpy, int nvisuals, int nprops,
|
|||
*/
|
||||
m->drawableType = GLX_WINDOW_BIT | GLX_PIXMAP_BIT | GLX_PBUFFER_BIT;
|
||||
#endif
|
||||
/* Older X servers don't send this so we default it here. */
|
||||
m->sRGBCapable = GL_FALSE;
|
||||
__glXInitializeVisualConfigFromTags(m, nprops, props,
|
||||
tagged_only, GL_TRUE);
|
||||
m->screen = screen;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue