static struct stw_device stw_dev_storage;
struct pipe_screen *screen;
+ debug_disable_error_message_boxes();
+
debug_printf("%s\n", __FUNCTION__);
assert(!stw_dev);
}
-struct stw_context *
-stw_lookup_context_locked( DHGLRC dhglrc )
-{
- if (dhglrc == 0)
- return NULL;
-
- if (stw_dev == NULL)
- return NULL;
-
- return (struct stw_context *) handle_table_get(stw_dev->ctx_table, dhglrc);
-}
-
-
void APIENTRY
DrvSetCallbackProcs(
INT nProcs,
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;
}