Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-20 04:54:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-20 04:54:32 +0400
commitd4b8f6798da8d37a1ebab71f82afd9a66a3bf961 (patch)
tree73a65740a4fc141e6f89cf611842bcf1c653e0b4 /source/blender/editors/screen
parent7a3ec0d9c79b5f702e6632028799e5cbd115b534 (diff)
Code cleanup: comment unused OpenGL util functions
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/glutil.c8
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);