diff options
author | Michel Dänzer <[email protected]> | 2004-03-01 13:02:29 +0000 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2004-03-01 13:02:29 +0000 |
commit | dbb0d2751f98da7630bfbfa86ca5f76d3dddbf72 (patch) | |
tree | c17bb378e15dafa709dd98db34a761647efe8f2a /src/mesa/tnl/t_save_playback.c | |
parent | cac8d425a8147210dafaa25cefd7becb9e23c446 (diff) |
Inline get_size as an interim measure to get rid of function call overhead.
Diffstat (limited to 'src/mesa/tnl/t_save_playback.c')
-rw-r--r-- | src/mesa/tnl/t_save_playback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c index 8d353b3f7b4..264748e9b11 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; |