From 0204a6f75e245f9060b8c6fa089b1a171b7c8151 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 22 May 2020 10:06:11 +0000 Subject: [PATCH] when opengl is set to 'force', even skip runtime testing and just force enable it git-svn-id: https://xpra.org/svn/Xpra/trunk@26448 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client/gtk_base/gtk_client_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpra/client/gtk_base/gtk_client_base.py b/src/xpra/client/gtk_base/gtk_client_base.py index 14c2592d3b..ae87408bf1 100644 --- a/src/xpra/client/gtk_base/gtk_client_base.py +++ b/src/xpra/client/gtk_base/gtk_client_base.py @@ -1106,7 +1106,7 @@ def err(msg, e): l("Warning: OpenGL windows will be clamped to the maximum texture size %ix%i", self.gl_texture_size_limit, self.gl_texture_size_limit) l(" for OpenGL %s renderer '%s'", pver(self.opengl_props.get("opengl", "")), self.opengl_props.get("renderer", "unknown")) - if self.opengl_enabled and enable_opengl!="probe-success": + if self.opengl_enabled and enable_opengl!="probe-success" and not self.opengl_force: draw_result = test_gl_client_window(self.GLClientWindowClass, max_window_size=self.max_window_size, pixel_depth=self.pixel_depth) if not draw_result.get("success", False): err("OpenGL test rendering failed:", draw_result.get("message", "unknown error"))