summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-06 15:20:33 -0600
committerBrian Paul <[email protected]>2011-09-06 15:20:33 -0600
commit37afceeee99264f93c0d3a588427a24218e2ec9d (patch)
tree98d09ce870fbad2eef1432bffba4554f00076f47 /src/mesa/main
parent7826067bd195bd1e7f69565b83d2161638e5a230 (diff)
mesa: s/inline/INLINE/ to fix MSVC build
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 129403c5b5e..396a752bd6e 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -348,7 +348,7 @@ typedef enum
* (VERT_RESULT_PSIZ, VERT_RESULT_BFC0, VERT_RESULT_BFC1, and
* VERT_RESULT_EDGE) are converted to a value of -1.
*/
-static inline int vert_result_to_frag_attrib(int vert_result)
+static INLINE int vert_result_to_frag_attrib(int vert_result)
{
if (vert_result >= VERT_RESULT_VAR0)
return vert_result - VERT_RESULT_VAR0 + FRAG_ATTRIB_VAR0;
@@ -366,7 +366,7 @@ static inline int vert_result_to_frag_attrib(int vert_result)
* gl_frag_attrib values which have no corresponding gl_vert_result
* (FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC) are converted to a value of -1.
*/
-static inline int frag_attrib_to_vert_result(int frag_attrib)
+static INLINE int frag_attrib_to_vert_result(int frag_attrib)
{
if (frag_attrib <= FRAG_ATTRIB_TEX7)
return frag_attrib;