Skip to content

Commit

Permalink
also record opengl errors for diagnostics
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@11451 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 21, 2015
1 parent a329375 commit 1fc0a3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/xpra/x11/x11_server_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,13 @@ def query_opengl(self):
k = parts[0].strip()
v = parts[1].strip()
self.opengl_props[k] = v
gllog("OpenGL: %s", self.opengl_props)
else:
self.opengl_props["error"] = str(err)
except Exception as e:
gllog.warn("Warning: failed to query OpenGL properties")
gllog.warn(" %s", e)
self.opengl_props["error"] = str(e)
gllog("OpenGL: %s", self.opengl_props)

def init_x11_atoms(self):
#some applications (like openoffice), do not work properly
Expand Down

0 comments on commit 1fc0a3c

Please sign in to comment.