summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r--src/gallium/state_trackers/wgl/stw_device.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_device.c b/src/gallium/state_trackers/wgl/stw_device.c
index 025dbdc..25b6341 100644
--- a/src/gallium/state_trackers/wgl/stw_device.c
+++ b/src/gallium/state_trackers/wgl/stw_device.c
@@ -213,6 +213,14 @@ BOOL APIENTRY
DrvValidateVersion(
ULONG ulVersion )
{
- /* TODO: get the expected version from the winsys */
- return ulVersion == 1;
+ /* ulVersion is the version reported by the KMD:
+ * - via D3DKMTQueryAdapterInfo(KMTQAITYPE_UMOPENGLINFO) on WDDM,
+ * - or ExtEscape on XPDM and can be used to ensure the KMD and OpenGL ICD
+ * versions match.
+ *
+ * We should get the expected version number from the winsys, but for now
+ * ignore it.
+ */
+ (void)ulVersion;
+ return TRUE;
}