Skip to content

Commit

Permalink
ARB fragment_program requires GL 1.3:
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Dec 25, 2012
1 parent 71951c9 commit 3415921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/gl/gl_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def check_GL_support(gldrawable, glcontext):
from OpenGL.GL import glGetString
gl_major = int(glGetString(GL_VERSION)[0])
gl_minor = int(glGetString(GL_VERSION)[2])
if gl_major<=1 and gl_minor<1:
if (gl_major, gl_minor) <= (1,3):
raise ImportError("** OpenGL output requires OpenGL version 1.1 or greater, not %s.%s" % (gl_major, gl_minor))
log("found valid OpenGL version: %s.%s", gl_major, gl_minor)

Expand Down

0 comments on commit 3415921

Please sign in to comment.