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/screen/glutil.c | |
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/screen/glutil.c')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index 0b231ee7b96..235c5da08c3 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -790,7 +790,7 @@ int bglPointHack(void) return 0; } -void bglVertex3fv(float *vec) +void bglVertex3fv(const float vec[3]) { switch(curmode) { case GL_POINTS: @@ -816,7 +816,7 @@ void bglVertex3f(float x, float y, float z) } } -void bglVertex2fv(float *vec) +void bglVertex2fv(const float vec[2]) { switch(curmode) { case GL_POINTS: |