Revert "OpenGL core: add some missing gpuBegin to allow clay with no UI"

This reverts commit 1c01811cce.

It broke everything.
This commit is contained in:
Dalai Felinto 2017-04-13 18:49:16 +02:00 committed by Mike Erwin
parent 02273441dc
commit 532532afc7
2 changed files with 0 additions and 2 deletions

View File

@ -451,7 +451,6 @@ static void region_draw_azones(ScrArea *sa, ARegion *ar)
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
gpuMatrixBegin2D();
gpuPushMatrix();
gpuTranslate2f(-ar->winrct.xmin, -ar->winrct.ymin);

View File

@ -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);
}