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:
authorDalai Felinto <dfelinto@gmail.com>2017-04-13 19:49:16 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-04-13 20:18:42 +0300
commit1c01811cce00b799ee94aad24083ddf3954a5829 (patch)
tree02bc9b09a3950fd05f66276135dae0937d37ca69 /source/blender/windowmanager/intern/wm_subwindow.c
parentfe559d06593da143e036cf154e36c5d51ec7324c (diff)
OpenGL core: add some missing gpuBegin to allow clay with no UI
Diffstat (limited to 'source/blender/windowmanager/intern/wm_subwindow.c')
-rw-r--r--source/blender/windowmanager/intern/wm_subwindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_subwindow.c b/source/blender/windowmanager/intern/wm_subwindow.c
index d73aa107cab..6bb84e18855 100644
--- a/source/blender/windowmanager/intern/wm_subwindow.c
+++ b/source/blender/windowmanager/intern/wm_subwindow.c
@@ -338,6 +338,7 @@ void wmOrtho2(float x1, float x2, float y1, float y2)
if (x1 == x2) x2 += 1.0f;
if (y1 == y2) y2 += 1.0f;
+ gpuMatrixBegin3D();
gpuOrtho(x1, x2, y1, y2, -100, 100);
}