summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_save_playback.c2
-rw-r--r--src/mesa/tnl/t_vtx_exec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c
index 8d353b3f7b..264748e9b1 100644
--- a/src/mesa/tnl/t_save_playback.c
+++ b/src/mesa/tnl/t_save_playback.c
@@ -37,7 +37,7 @@
#include "t_save_api.h"
#include "t_vtx_api.h"
-static GLint get_size( const GLfloat *f )
+static INLINE GLint get_size( const GLfloat *f )
{
if (f[3] != 1.0) return 4;
if (f[2] != 0.0) return 3;
diff --git a/src/mesa/tnl/t_vtx_exec.c b/src/mesa/tnl/t_vtx_exec.c
index 4a36ed917f..6925850f06 100644
--- a/src/mesa/tnl/t_vtx_exec.c
+++ b/src/mesa/tnl/t_vtx_exec.c
@@ -93,7 +93,7 @@ GLboolean *_tnl_import_current_edgeflag( GLcontext *ctx,
return ef;
}
-static GLint get_size( const GLfloat *f )
+static INLINE GLint get_size( const GLfloat *f )
{
if (f[3] != 1.0) return 4;
if (f[2] != 0.0) return 3;