diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-16 02:49:52 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-18 22:30:10 +0300 |
commit | 0f292dc07265db181bd3ec13f12c48fee755f5b5 (patch) | |
tree | a8ecaf5a361103173273b471a3339efc17010794 /source/blender/gpu/intern/gpu_state.cc | |
parent | c78ea96528168760382f919b8cb6251d3faac683 (diff) |
Cleanup: GPUState: remove float variant of GPU_scissor_get
Diffstat (limited to 'source/blender/gpu/intern/gpu_state.cc')
-rw-r--r-- | source/blender/gpu/intern/gpu_state.cc | 7 |
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); } |