diff options
author | Brian Paul <[email protected]> | 2011-09-30 21:03:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-10-01 08:16:36 -0600 |
commit | 9520f483b8f1e45fa474674b415554988de5d8d3 (patch) | |
tree | abb7498ff771c9c0b1bc9034365170e2bf416ead /src/mesa/main/pack.c | |
parent | c707ffa587137bda42ed557e2c5f6bb7ee02aca3 (diff) |
mesa: s/INLINE/inline/
INLINE is still seen in some files (some generated files, etc) but this
is a good start.
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/pack.c')
-rw-r--r-- | src/mesa/main/pack.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 6d6ae59f463..62e352f3fc9 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -2910,35 +2910,35 @@ extract_float_rgba(GLuint n, GLfloat rgba[][4], } -static INLINE GLuint +static inline GLuint clamp_byte_to_uint(GLbyte b) { return b < 0 ? 0 : b; } -static INLINE GLuint +static inline GLuint clamp_short_to_uint(GLshort s) { return s < 0 ? 0 : s; } -static INLINE GLuint +static inline GLuint clamp_int_to_uint(GLint i) { return i < 0 ? 0 : i; } -static INLINE GLuint +static inline GLuint clamp_float_to_uint(GLfloat f) { return f < 0.0F ? 0 : IROUND(f); } -static INLINE GLuint +static inline GLuint clamp_half_to_uint(GLhalfARB h) { GLfloat f = _mesa_half_to_float(h); |