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>2020-08-16 02:49:52 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-18 22:30:10 +0300
commit0f292dc07265db181bd3ec13f12c48fee755f5b5 (patch)
treea8ecaf5a361103173273b471a3339efc17010794 /source/blender/gpu/intern
parentc78ea96528168760382f919b8cb6251d3faac683 (diff)
Cleanup: GPUState: remove float variant of GPU_scissor_get
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_state.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/gpu/intern/gpu_state.cc b/source/blender/gpu/intern/gpu_state.cc
index 794c7a3eb97..d697b465458 100644
--- a/source/blender/gpu/intern/gpu_state.cc
+++ b/source/blender/gpu/intern/gpu_state.cc
@@ -188,12 +188,7 @@ void GPU_viewport(int x, int y, int width, int height)
glViewport(x, y, width, height);
}
-void GPU_scissor_get_f(float coords[4])
-{
- glGetFloatv(GL_SCISSOR_BOX, coords);
-}
-
-void GPU_scissor_get_i(int coords[4])
+void GPU_scissor_get(int coords[4])
{
glGetIntegerv(GL_SCISSOR_BOX, coords);
}