diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-28 18:05:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-28 18:05:00 +0400 |
commit | ed04c213745362fcab99cdda89343aca7cbb65e5 (patch) | |
tree | e1a6819df36bca9a884104882a2d146da1ba4c89 /source/blender/editors/include/BIF_glutil.h | |
parent | 150cedac5da7bfce5fdd7c621cb682d6f3e66c8b (diff) |
code cleanup: use float vector size in function definitions, and const's where the values are unchanged.
Diffstat (limited to 'source/blender/editors/include/BIF_glutil.h')
-rw-r--r-- | source/blender/editors/include/BIF_glutil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/BIF_glutil.h b/source/blender/editors/include/BIF_glutil.h index 0f8c70977be..b5dbf906d84 100644 --- a/source/blender/editors/include/BIF_glutil.h +++ b/source/blender/editors/include/BIF_glutil.h @@ -197,9 +197,9 @@ void gla2DSetMap(gla2DDrawInfo *di, struct rctf *rect); void bglBegin(int mode); void bglEnd(void); int bglPointHack(void); -void bglVertex3fv(float *vec); +void bglVertex3fv(const float vec[3]); void bglVertex3f(float x, float y, float z); -void bglVertex2fv(float *vec); +void bglVertex2fv(const float vec[2]); /* intel gfx cards frontbuffer problem */ void bglFlush(void); void set_inverted_drawing(int enable); |