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:
authorClément Foucault <foucault.clem@gmail.com>2019-03-24 01:42:30 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-03-24 01:42:30 +0300
commitee5e7a006e7134bad6534abe331c6f9310380337 (patch)
tree8ff3626e992c7e836f8b4ac09b4598b1abca8024 /source/blender/gpu
parent0f8da4f014aafee5dbf4de927b372f125a847b67 (diff)
GPU: Remove unused and deprecated GPU_line_stipple()
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/GPU_state.h1
-rw-r--r--source/blender/gpu/intern/gpu_state.c10
2 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/gpu/GPU_state.h b/source/blender/gpu/GPU_state.h
index c43a1711528..eb273608a3f 100644
--- a/source/blender/gpu/GPU_state.h
+++ b/source/blender/gpu/GPU_state.h
@@ -45,7 +45,6 @@ void GPU_depth_range(float near, float far);
void GPU_depth_test(bool enable);
bool GPU_depth_test_enabled(void);
void GPU_line_smooth(bool enable);
-void GPU_line_stipple(bool enable);
void GPU_line_width(float width);
void GPU_point_size(float size);
void GPU_polygon_smooth(bool enable);
diff --git a/source/blender/gpu/intern/gpu_state.c b/source/blender/gpu/intern/gpu_state.c
index 98f905cd051..b77fc047473 100644
--- a/source/blender/gpu/intern/gpu_state.c
+++ b/source/blender/gpu/intern/gpu_state.c
@@ -100,16 +100,6 @@ void GPU_line_smooth(bool enable)
}
}
-void GPU_line_stipple(bool enable)
-{
- if (enable) {
- glEnable(GL_LINE_STIPPLE);
- }
- else {
- glDisable(GL_LINE_STIPPLE);
- }
-}
-
void GPU_line_width(float width)
{
float max_size = GPU_max_line_width();