diff options
Diffstat (limited to 'src/render/mobileopengl2graphics.cpp')
-rw-r--r-- | src/render/mobileopengl2graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp index 73579005a..a89759d2b 100644 --- a/src/render/mobileopengl2graphics.cpp +++ b/src/render/mobileopengl2graphics.cpp @@ -75,7 +75,7 @@ var[vp + 20] = dstX + w; \ var[vp + 21] = dstY + h; \ var[vp + 22] = x2; \ - var[vp + 23] = y2; + var[vp + 23] = y2 #define toGL static_cast<GLfloat> @@ -128,7 +128,7 @@ MobileOpenGL2Graphics::~MobileOpenGL2Graphics() void MobileOpenGL2Graphics::deleteGLObjects() restrict2 { - delete2(mProgram); + delete2(mProgram) if (mVbo != 0U) mglDeleteBuffers(1, &mVbo); #ifndef __native_client__ |