diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-07 04:35:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-07 18:50:36 +0300 |
commit | 514878dd29b52fcbdc3ec63833d528070d502880 (patch) | |
tree | 8d4abe6e8a5146630f9d66908f8ccdf860f1b8d2 /src/render | |
parent | 48ea9be889ecc77ae0ee7e952f1970771a92e5c9 (diff) | |
download | manaverse-514878dd29b52fcbdc3ec63833d528070d502880.tar.gz manaverse-514878dd29b52fcbdc3ec63833d528070d502880.tar.bz2 manaverse-514878dd29b52fcbdc3ec63833d528070d502880.tar.xz manaverse-514878dd29b52fcbdc3ec63833d528070d502880.zip |
Fix code style.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 8 | ||||
-rw-r--r-- | src/render/safeopenglgraphics.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index f9f84a030..32ce4f95a 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -416,10 +416,10 @@ void NormalOpenGLGraphics::testDraw() restrict2 { GLfloat tex[] = { - 0.0F, 0.781250f, - 0.0F, 0.781250f, - 0.0F, 0.585938f, - 0.0F, 0.585938f + 0.0F, 0.781250F, + 0.0F, 0.781250F, + 0.0F, 0.585938F, + 0.0F, 0.585938F }; GLint vert[] = diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp index 03ff2cc28..04df20ec6 100644 --- a/src/render/safeopenglgraphics.cpp +++ b/src/render/safeopenglgraphics.cpp @@ -210,13 +210,13 @@ void SafeOpenGLGraphics::testDraw() restrict2 if (SafeOpenGLImageHelper::mTextureType == GL_TEXTURE_2D) { glBegin(GL_QUADS); - glTexCoord2f(0.0F, 0.781250f); + glTexCoord2f(0.0F, 0.781250F); glVertex2i(0, 0); - glTexCoord2f(0.0F, 0.781250f); + glTexCoord2f(0.0F, 0.781250F); glVertex2i(800, 0); - glTexCoord2f(0.0F, 0.585938f); + glTexCoord2f(0.0F, 0.585938F); glVertex2i(800, 600); - glTexCoord2f(0.0F, 0.585938f); + glTexCoord2f(0.0F, 0.585938F); glVertex2i(0, 600); glEnd(); } |