Skip to content

Commit

Permalink
the opengl-probe 'success' test result is more important than the 'sa…
Browse files Browse the repository at this point in the history
…fe' attribute

git-svn-id: https://xpra.org/svn/Xpra/trunk@23303 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 25, 2019
1 parent ec1974c commit 9b365fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1874,10 +1874,10 @@ def no_gtk():

def run_glprobe(opts):
props = do_run_glcheck(opts)
if not props.get("safe", False):
return 2
if not props.get("success", False):
return 3
if not props.get("safe", False):
return 2
return 0

def do_run_glcheck(opts):
Expand Down

0 comments on commit 9b365fa

Please sign in to comment.