diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-20 04:54:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-20 04:54:32 +0400 |
commit | d4b8f6798da8d37a1ebab71f82afd9a66a3bf961 (patch) | |
tree | 73a65740a4fc141e6f89cf611842bcf1c653e0b4 /source/blender/editors/screen/glutil.c | |
parent | 7a3ec0d9c79b5f702e6632028799e5cbd115b534 (diff) |
Code cleanup: comment unused OpenGL util functions
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index c75485d93f9..6b5f5a1a9ae 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -238,6 +238,8 @@ void sdrawline(short x1, short y1, short x2, short y2) glEnd(); } +/* UNUSED */ +#if 0 /* * x1,y2 * | \ @@ -270,6 +272,7 @@ void sdrawtrifill(short x1, short y1, short x2, short y2) sdrawtripoints(x1, y1, x2, y2); glEnd(); } +#endif void sdrawbox(short x1, short y1, short x2, short y2) { @@ -320,6 +323,8 @@ void set_inverted_drawing(int enable) GL_TOGGLE(GL_DITHER, !enable); } +/* UNUSED */ +#if 0 void sdrawXORline(int x0, int y0, int x1, int y1) { if (x0 == x1 && y0 == y1) return; @@ -390,6 +395,9 @@ void fdrawXORellipse(float xofs, float yofs, float hw, float hh) set_inverted_drawing(0); } + +#endif + void fdrawXORcirc(float xofs, float yofs, float rad) { set_inverted_drawing(1); |