diff options
author | marha <marha@users.sourceforge.net> | 2011-09-06 17:03:32 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-06 17:03:32 +0200 |
commit | 553aee48675d816bf041a61ab01bb73f8602d365 (patch) | |
tree | 1418c747e18134060e8876fa51a853e74f7fb0f8 /mesalib/src/mesa/vbo/vbo_attrib_tmp.h | |
parent | dfb79e7ffce291dc6020a9edab1d13da85c88ab6 (diff) | |
download | vcxsrv-553aee48675d816bf041a61ab01bb73f8602d365.tar.gz vcxsrv-553aee48675d816bf041a61ab01bb73f8602d365.tar.bz2 vcxsrv-553aee48675d816bf041a61ab01bb73f8602d365.zip |
solved compile error
Diffstat (limited to 'mesalib/src/mesa/vbo/vbo_attrib_tmp.h')
-rw-r--r-- | mesalib/src/mesa/vbo/vbo_attrib_tmp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/vbo/vbo_attrib_tmp.h b/mesalib/src/mesa/vbo/vbo_attrib_tmp.h index 43d1a7ae0..263619641 100644 --- a/mesalib/src/mesa/vbo/vbo_attrib_tmp.h +++ b/mesalib/src/mesa/vbo/vbo_attrib_tmp.h @@ -59,6 +59,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #define MAT_ATTR( A, N, V ) ATTR( A, N, (V)[0], (V)[1], (V)[2], (V)[3] )
+#ifdef _MSC_VER
+#define inline __inline
+#endif
static inline float conv_ui10_to_norm_float(unsigned ui10)
{
return (float)(ui10) / 1023.0;
|