Check presence of WGL_EXT_colorspace before use
authorPiers Daniell <pdaniell@nvidia.com>
Tue, 30 Jun 2020 18:09:19 +0000 (12:09 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 17 Jul 2020 08:59:37 +0000 (04:59 -0400)
commit9a04c4f04c9b27d2fb3df68301e0dde2ac41c9bd
treeb979ca829afbf5c4d7fbf952e6f0eab2af7c0737
parent1c31239b90f5e6dec9ddb6cc61a1d22def209304
Check presence of WGL_EXT_colorspace before use

This CL fixes an issue where the WGL_COLORSPACE_EXT_attribute
pixel format query was used without checking the implementation
supports the WGL_EXT_colorspace extension.

Affects:

cts-runner initialization on WGL
glcts.exe initialization on WGL

Components: OpenGL

VK-GL-CTS issue: 2257

Change-Id: Ib4177b851c856570c4b125d537ffa476a02c04f3
framework/platform/win32/tcuWGL.cpp