[Bf-blender-cvs] [0c6939f] blender2.8: minor cleanup & deprecation

Mike Erwin noreply at git.blender.org
Tue Oct 18 06:12:42 CEST 2016


Commit: 0c6939f5f597e4e7fe5777de7a49b49ff53fa987
Author: Mike Erwin
Date:   Mon Oct 17 23:48:12 2016 -0400
Branches: blender2.8
https://developer.blender.org/rB0c6939f5f597e4e7fe5777de7a49b49ff53fa987

minor cleanup & deprecation

===================================================================

M	source/blender/editors/screen/glutil.c

===================================================================

diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 2d89398..a7e8c21 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);




More information about the Bf-blender-cvs mailing list