[Bf-blender-cvs] [d4b8f67] master: Code cleanup: comment unused OpenGL util functions
Campbell Barton
noreply at git.blender.org
Thu Mar 20 02:21:19 CET 2014
Commit: d4b8f6798da8d37a1ebab71f82afd9a66a3bf961
Author: Campbell Barton
Date: Thu Mar 20 11:54:32 2014 +1100
https://developer.blender.org/rBd4b8f6798da8d37a1ebab71f82afd9a66a3bf961
Code cleanup: comment unused OpenGL util functions
===================================================================
M source/blender/editors/screen/glutil.c
===================================================================
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index c75485d..6b5f5a1 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);
More information about the Bf-blender-cvs
mailing list