Commit 26e67b0d authored by Guido van Rossum's avatar Guido van Rossum

Don't import fl (it tries to initialize GL) but assume it's always v2.0.

parent 6ff2e90c
......@@ -3,12 +3,13 @@
# Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
# Alternate use: from FL import *; ... NORMAL_BOX ... etc.
import fl
try:
_v20 = (fl.get_rgbmode <> None)
except:
_v20 = 0
del fl
_v20 = 1
##import fl
##try:
## _v20 = (fl.get_rgbmode <> None)
##except:
## _v20 = 0
##del fl
NULL = 0
FALSE = 0
......
......@@ -3,12 +3,13 @@
# Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
# Alternate use: from FL import *; ... NORMAL_BOX ... etc.
import fl
try:
_v20 = (fl.get_rgbmode <> None)
except:
_v20 = 0
del fl
_v20 = 1
##import fl
##try:
## _v20 = (fl.get_rgbmode <> None)
##except:
## _v20 = 0
##del fl
NULL = 0
FALSE = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment