summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/render
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadmanaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
manaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
manaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
manaverse-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mobileopengl2graphics.cpp4
-rw-r--r--src/render/mobileopenglgraphics.cpp2
-rw-r--r--src/render/modernopenglgraphics.cpp4
-rw-r--r--src/render/normalopenglgraphics.cpp4
-rw-r--r--src/render/openglx/mglxinit.cpp14
5 files changed, 14 insertions, 14 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__
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index c8cbb7bba..7465ef3ff 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -68,7 +68,7 @@
vVar[vp + 8] = static_cast<GLshort>(dstX); \
vVar[vp + 9] = static_cast<GLshort>(dstY + h); \
vVar[vp + 10] = static_cast<GLshort>(dstX + w); \
- vVar[vp + 11] = static_cast<GLshort>(dstY + h);
+ vVar[vp + 11] = static_cast<GLshort>(dstY + h)
GLuint MobileOpenGLGraphics::mTextureBinded = 0;
#ifdef DEBUG_DRAW_CALLS
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index e742db33e..94efe61a4 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -77,7 +77,7 @@
var[vp + 20] = dstX + w; \
var[vp + 21] = dstY + h; \
var[vp + 22] = x2; \
- var[vp + 23] = y2;
+ var[vp + 23] = y2
GLuint ModernOpenGLGraphics::mTextureBinded = 0;
#ifdef DEBUG_DRAW_CALLS
@@ -125,7 +125,7 @@ ModernOpenGLGraphics::~ModernOpenGLGraphics()
void ModernOpenGLGraphics::deleteGLObjects() restrict2
{
- delete2(mProgram);
+ delete2(mProgram)
if (mVbo != 0U)
{
// logger->log("delete buffer vbo: %u", mVbo);
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index edaeb17cb..f9f84a030 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -59,7 +59,7 @@
vVar[vp + 4] = dstX + w; \
vVar[vp + 5] = dstY + h; \
vVar[vp + 6] = dstX; \
- vVar[vp + 7] = dstY + h;
+ vVar[vp + 7] = dstY + h
#define vertFillNv(tVar, vVar, srcX, srcY, dstX, dstY, w, h) \
@@ -78,7 +78,7 @@
vVar[vp + 4] = dstX + w; \
vVar[vp + 5] = dstY + h; \
vVar[vp + 6] = dstX; \
- vVar[vp + 7] = dstY + h;
+ vVar[vp + 7] = dstY + h
namespace
{
diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp
index 74c378ed4..d73d981c6 100644
--- a/src/render/openglx/mglxinit.cpp
+++ b/src/render/openglx/mglxinit.cpp
@@ -30,13 +30,13 @@
void Glx::initFunctions()
{
- assignFunction(glXCreateContext);
- assignFunction(glXGetCurrentContext);
- assignFunctionARB(glXCreateContextAttribs);
- assignFunction(glXChooseFBConfig);
- assignFunction(glXDestroyContext);
- assignFunction(glXMakeCurrent);
- assignFunction(glXSwapBuffers);
+ assignFunction(glXCreateContext)
+ assignFunction(glXGetCurrentContext)
+ assignFunctionARB(glXCreateContextAttribs)
+ assignFunction(glXChooseFBConfig)
+ assignFunction(glXDestroyContext)
+ assignFunction(glXMakeCurrent)
+ assignFunction(glXSwapBuffers)
}
#endif // defined(USE_OPENGL) && defined(USE_X11)