Add a python2 compatability warning to cg2glsl.py.
This commit is contained in:
parent
1541db37e9
commit
da4cc54b8c
|
@ -21,6 +21,7 @@ batch_mode = False
|
||||||
|
|
||||||
def log(*arg):
|
def log(*arg):
|
||||||
if not batch_mode:
|
if not batch_mode:
|
||||||
|
# FIXME: This causes a syntax error in python2, preventing the version warning from displaying.
|
||||||
print(*arg)
|
print(*arg)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue