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
committerMike Erwin <significant.bit@gmail.com>2017-04-14 01:24:04 +0300
commit532532afc7316e05e1603529a84f6c3ab8ee32d3 (patch)
treefe946aa485d6010b35d76e3713d23faa9d6b69ec /source/blender/windowmanager/intern/wm_subwindow.c
parent02273441dc2cebab122d6f6d1b0642a500a67409 (diff)
Revert "OpenGL core: add some missing gpuBegin to allow clay with no UI"
This reverts commit 1c01811cce00b799ee94aad24083ddf3954a5829. It broke everything.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_subwindow.c')
-rw-r--r--source/blender/windowmanager/intern/wm_subwindow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_subwindow.c b/source/blender/windowmanager/intern/wm_subwindow.c
index 6bb84e18855..d73aa107cab 100644
--- a/source/blender/windowmanager/intern/wm_subwindow.c
+++ b/source/blender/windowmanager/intern/wm_subwindow.c
@@ -338,7 +338,6 @@ 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);
}