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>2016-10-18 06:48:12 +0300
committerMike Erwin <significant.bit@gmail.com>2016-10-18 06:48:12 +0300
commit0c6939f5f597e4e7fe5777de7a49b49ff53fa987 (patch)
tree43e656fb88372482e3cff71108512bd39afd129b
parent8327795f8db13b4a66ba70c4bc01091bab1d847b (diff)
minor cleanup & deprecation
-rw-r--r--source/blender/editors/screen/glutil.c6
1 files 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);