summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-06 15:29:24 -0600
committerBrian Paul <[email protected]>2011-09-06 15:29:24 -0600
commit51e7b058750cc480c296d45f773d7a5a662457f5 (patch)
tree12125d171fa5181110bdce959254442d405e9b9d /src/mesa/main
parenta794ad3709a6eb26bc96934203c20a8b3b8d8672 (diff)
mesa: put _mesa_ prefix on vert_result_to_frag_attrib()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 4e5cc46a409..8b479f4b0a8 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -216,7 +216,7 @@ typedef enum
/**
* Indexes for vertex program result attributes. Note that
- * vert_result_to_frag_attrib() and frag_attrib_to_vert_result() make
+ * _mesa_vert_result_to_frag_attrib() and _mesa_frag_attrib_to_vert_result() make
* assumptions about the layout of this enum.
*/
typedef enum
@@ -316,7 +316,7 @@ typedef enum
/**
* Indexes for fragment program input attributes. Note that
- * vert_result_to_frag_attrib() and frag_attrib_to_vert_result() make
+ * _mesa_vert_result_to_frag_attrib() and frag_attrib_to_vert_result() make
* assumptions about the layout of this enum.
*/
typedef enum
@@ -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(gl_vert_result vert_result)
+static INLINE int _mesa_vert_result_to_frag_attrib(gl_vert_result 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(gl_vert_result 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(gl_frag_attrib frag_attrib)
+static INLINE int _mesa_frag_attrib_to_vert_result(gl_frag_attrib frag_attrib)
{
if (frag_attrib <= FRAG_ATTRIB_TEX7)
return frag_attrib;