From a61d9c1ff6a43fef9c811cdfa39bfa2d1e5c70c9 Mon Sep 17 00:00:00 2001 From: Roy Tam Date: Tue, 14 Apr 2020 21:27:00 +0800 Subject: [PATCH] dom/canvas: webgl: disable HasDXInterop2 check --- dom/canvas/WebGLContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/canvas/WebGLContext.cpp b/dom/canvas/WebGLContext.cpp index e2e05e5fd3..50d3daceaa 100644 --- a/dom/canvas/WebGLContext.cpp +++ b/dom/canvas/WebGLContext.cpp @@ -963,7 +963,7 @@ WebGLContext::SetDimensions(int32_t signedWidth, int32_t signedHeight) return NS_ERROR_FAILURE; } -#ifdef XP_WIN +#if 0//def XP_WIN if (gl->GetContextType() == gl::GLContextType::WGL && !gl::sWGLLib.HasDXInterop2()) {