Add a python2 compatability warning to cg2glsl.py.

This commit is contained in:
Felix Laurie von Massenbach 2015-08-08 20:48:48 +01:00
parent 1541db37e9
commit da4cc54b8c

View File

@ -21,6 +21,7 @@ batch_mode = False
def log(*arg):
if not batch_mode:
# FIXME: This causes a syntax error in python2, preventing the version warning from displaying.
print(*arg)