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:
Diffstat (limited to 'source/blender/gpu/intern/gpu_view_gl.c')
-rw-r--r--source/blender/gpu/intern/gpu_view_gl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_view_gl.c b/source/blender/gpu/intern/gpu_view_gl.c
index 8346a98e06e..9a29528a629 100644
--- a/source/blender/gpu/intern/gpu_view_gl.c
+++ b/source/blender/gpu/intern/gpu_view_gl.c
@@ -72,9 +72,9 @@ glEnable(GL_SCISSOR_TEST);
//gpuSetClearColor_gl((float)rand()/RAND_MAX,(float)rand()/RAND_MAX,(float)rand()/RAND_MAX,0);
}
-void gpuGetScissorBox_gl(int *box)
+void gpuGetSizeBox_gl(int type, int *box)
{
- glGetIntegerv(GL_SCISSOR_BOX, box);
+ glGetIntegerv(type, box);
}
void gpuViewportScissor_gl(int x, int y, unsigned int width, unsigned int height)