summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-07 04:35:19 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-07 18:50:36 +0300
commit514878dd29b52fcbdc3ec63833d528070d502880 (patch)
tree8d4abe6e8a5146630f9d66908f8ccdf860f1b8d2 /src/render
parent48ea9be889ecc77ae0ee7e952f1970771a92e5c9 (diff)
downloadplus-514878dd29b52fcbdc3ec63833d528070d502880.tar.gz
plus-514878dd29b52fcbdc3ec63833d528070d502880.tar.bz2
plus-514878dd29b52fcbdc3ec63833d528070d502880.tar.xz
plus-514878dd29b52fcbdc3ec63833d528070d502880.zip
Fix code style.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/normalopenglgraphics.cpp8
-rw-r--r--src/render/safeopenglgraphics.cpp8
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();
}