diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-08 16:00:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-08 16:01:51 +0400 |
commit | 67943af47a8ded8fab73141f7e03f140bbe80b55 (patch) | |
tree | 40fa6b4bc1432cfb1b68f29842dfe1704e1f281c /source/blender/editors/include/BIF_glutil.h | |
parent | 5c829d2c4e39c85b82c7ef5d2d4a5810ae6335e6 (diff) |
glutil: use ints for drawing functions
shorts would wrap sometimes & many inputs were ints already.
Diffstat (limited to 'source/blender/editors/include/BIF_glutil.h')
-rw-r--r-- | source/blender/editors/include/BIF_glutil.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/editors/include/BIF_glutil.h b/source/blender/editors/include/BIF_glutil.h index b401f06f484..4272fd49f7f 100644 --- a/source/blender/editors/include/BIF_glutil.h +++ b/source/blender/editors/include/BIF_glutil.h @@ -41,10 +41,12 @@ struct ColorManagedDisplaySettings; void fdrawbezier(float vec[4][3]); void fdrawline(float x1, float y1, float x2, float y2); void fdrawbox(float x1, float y1, float x2, float y2); -void sdrawline(short x1, short y1, short x2, short y2); -void sdrawtri(short x1, short y1, short x2, short y2); -void sdrawtrifill(short x1, short y1, short x2, short y2); -void sdrawbox(short x1, short y1, short x2, short y2); +void sdrawline(int x1, int y1, int x2, int y2); +#if 0 +void sdrawtri(int x1, int y1, int x2, int y2); +void sdrawtrifill(int x1, int y1, int x2, int y2); +#endif +void sdrawbox(int x1, int y1, int x2, int y2); void sdrawXORline(int x0, int y0, int x1, int y1); void sdrawXORline4(int nr, int x0, int y0, int x1, int y1); |