diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-11-17 22:43:58 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-11-17 22:44:15 +0300 |
commit | feccadd81b0862321aed81e1dd3aaa0fe1d72e8a (patch) | |
tree | ee9ee9147185e2ff6a44424084539dc2e5554fc6 /source/blender/editors/screen/glutil.c | |
parent | 86f435d6c8d74c9aa23aa461d80ac5796f8ca91b (diff) |
mark certain glutil functions as deprecated
These will be removed before we ship 2.8
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index b64152b111b..3e198238555 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -54,7 +54,7 @@ #include "UI_interface.h" -void fdrawline(float x1, float y1, float x2, float y2) +void fdrawline(float x1, float y1, float x2, float y2) /* DEPRECATED */ { glBegin(GL_LINES); glVertex2f(x1, y1); @@ -75,7 +75,7 @@ void fdrawbox(float x1, float y1, float x2, float y2) glEnd(); } -void fdrawcheckerboard(float x1, float y1, float x2, float y2) +void fdrawcheckerboard(float x1, float y1, float x2, float y2) /* DEPRECATED */ { unsigned char col1[4] = {40, 40, 40}, col2[4] = {50, 50, 50}; @@ -89,7 +89,7 @@ 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) +void sdrawline(int x1, int y1, int x2, int y2) /* DEPRECATED */ { glBegin(GL_LINES); glVertex2i(x1, y1); |