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:
authorMike Erwin <significant.bit@gmail.com>2017-03-03 21:26:43 +0300
committerMike Erwin <significant.bit@gmail.com>2017-03-03 21:26:43 +0300
commit3381cf98cb3ea4a5e606627dbeb25b83b808da23 (patch)
tree26abb00b1b4fc83cd9f84d92e1f40e34eeda3ce8 /source/blender/editors/screen/glutil.c
parent6999e8269334e2eee306f11c9e32c28f8d1c8cdc (diff)
OpenGL: remove fdrawbox, sdrawbox, sdrawline
These helper functions were marked DEPRECATED since they use old OpenGL calls. Now they are marked GONE! Part of T49043
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 15e6525cd27..ac97321ae1a 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -62,19 +62,6 @@ void fdrawline(float x1, float y1, float x2, float y2)
glEnd();
}
-void fdrawbox(float x1, float y1, float x2, float y2)
-{
- /* DEPRECATED: use imm_draw_line_box instead */
- glBegin(GL_LINE_LOOP);
-
- glVertex2f(x1, y1);
- glVertex2f(x1, y2);
- glVertex2f(x2, y2);
- glVertex2f(x2, y1);
-
- glEnd();
-}
-
void fdrawcheckerboard(float x1, float y1, float x2, float y2)
{
/* DEPRECATED: use imm_draw_checker_box instead */
@@ -90,27 +77,6 @@ void fdrawcheckerboard(float x1, float y1, float x2, float y2)
GPU_basic_shader_bind(GPU_SHADER_USE_COLOR);
}
-void sdrawline(int x1, int y1, int x2, int y2) /* DEPRECATED */
-{
- glBegin(GL_LINES);
- glVertex2i(x1, y1);
- glVertex2i(x2, y2);
- glEnd();
-}
-
-void sdrawbox(int x1, int y1, int x2, int y2)
-{
- /* DEPRECATED: use imm_draw_line_box instead */
- glBegin(GL_LINE_LOOP);
-
- glVertex2i(x1, y1);
- glVertex2i(x1, y2);
- glVertex2i(x2, y2);
- glVertex2i(x2, y1);
-
- glEnd();
-}
-
/* ******************************************** */