From 0c6939f5f597e4e7fe5777de7a49b49ff53fa987 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Mon, 17 Oct 2016 23:48:12 -0400 Subject: minor cleanup & deprecation --- source/blender/editors/screen/glutil.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index 2d89398bc63..a7e8c210335 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -53,10 +53,6 @@ #include "UI_interface.h" -#ifndef GL_CLAMP_TO_EDGE -#define GL_CLAMP_TO_EDGE 0x812F -#endif - void fdrawline(float x1, float y1, float x2, float y2) { @@ -157,6 +153,7 @@ void fdrawXORcirc(float xofs, float yofs, float rad) void glutil_draw_filled_arc(float start, float angle, float radius, int nsegments) { + /* DEPRECATED */ int i; glBegin(GL_TRIANGLE_FAN); @@ -172,6 +169,7 @@ void glutil_draw_filled_arc(float start, float angle, float radius, int nsegment void glutil_draw_lined_arc(float start, float angle, float radius, int nsegments) { + /* DEPRECATED */ int i; glBegin(GL_LINE_STRIP); -- cgit v1.2.3