Skip to content

Commit

Permalink
better property logging
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@5311 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 30, 2014
1 parent ac815a6 commit e3d0082
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/xpra/client/gl/gl_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,11 @@ def main():
def log_error(msg):
log.error("ERROR: %s", msg)
gl_check_error = log_error
check_support(True)
props = check_support(True)
log.info("OpenGL properties:")
for k,v in props.items():
if k!="extensions":
log.info(" %s : %s", str(k).ljust(24), v)
if sys.platform.startswith("win"):
print("\nPress Enter to close")
sys.stdin.readline()
Expand Down

0 comments on commit e3d0082

Please sign in to comment.