summaryrefslogtreecommitdiff
path: root/src/mesa/main/get_gen.py
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-03 16:13:22 -0700
committerBrian Paul <brianp@vmware.com>2009-11-03 16:13:24 -0700
commit6eb71519f7d08344b7f9819db22980f9c6fade3c (patch)
tree6274346b92657c0dca7fe56c2336c65f33aefe1c /src/mesa/main/get_gen.py
parentc5106339d38dfac6652be9788ae8c78efab7667c (diff)
mesa: (GLint64) casts in get.c to silence Visual Studio warnings
Revised version of a patch from Karl Schultz.
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r--src/mesa/main/get_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index 2878c1b552..c7babd1c81 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -1042,7 +1042,7 @@ def ConversionFunc(fromType, toType):
elif fromType == GLint and toType == GLfloat: # but not GLfloatN!
return "(GLfloat)"
elif fromType == GLint and toType == GLint64:
- return ""
+ return "(GLint64)"
elif fromType == GLint64 and toType == GLfloat: # but not GLfloatN!
return "(GLfloat)"
else: