hw/xwin/glx: Don't override the server supported GL extensions string.
Don't override the server supported GL extensions string. The string reported to the client is the intersection of client, server and GL implementation extensions. Overriding the server supported GL extensions string like this causes extensions which are supported by the client and implementation, but not by the server, to be erroneously reported, so don't change it. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
c99cd058a8
commit
d1d3bd3596
|
@ -738,9 +738,6 @@ glxWinScreenProbe(ScreenPtr pScreen)
|
|||
|
||||
__glXScreenInit(&screen->base, pScreen);
|
||||
|
||||
// Override the GL extensions string set by __glXScreenInit()
|
||||
screen->base.GLextensions = strdup(gl_extensions);
|
||||
|
||||
// Generate the GLX extensions string (overrides that set by __glXScreenInit())
|
||||
{
|
||||
unsigned int buffer_size =
|
||||
|
|
Loading…
Reference in New Issue
Block a user