Skip to content

Commit

Permalink
when opengl is set to 'force', even skip runtime testing and just for…
Browse files Browse the repository at this point in the history
…ce enable it

git-svn-id: https://xpra.org/svn/Xpra/trunk@26448 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 22, 2020
1 parent 60ad714 commit 0204a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/gtk_base/gtk_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 0204a6f

Please sign in to comment.