summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-29 01:50:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-29 01:50:31 +0300
commit9f5e5c166b84e7005ecd9066b253c5baa95daf6b (patch)
tree074f7d44066935404c50c3077777b458c91a69ca /src
parentfdf0edf39728847b2f912c70a2a35432c8649b4b (diff)
downloadplus-9f5e5c166b84e7005ecd9066b253c5baa95daf6b.tar.gz
plus-9f5e5c166b84e7005ecd9066b253c5baa95daf6b.tar.bz2
plus-9f5e5c166b84e7005ecd9066b253c5baa95daf6b.tar.xz
plus-9f5e5c166b84e7005ecd9066b253c5baa95daf6b.zip
Fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r--src/render/modernopenglgraphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index 994a5f7a9..ccab406d2 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -345,6 +345,7 @@ bool ModernOpenGLGraphics::drawImageInline(const Image *const image,
void ModernOpenGLGraphics::testDraw()
{
+/*
GLint vertices[] =
{
0, 0, 0, 0,
@@ -352,7 +353,7 @@ void ModernOpenGLGraphics::testDraw()
0, 600, 0, 600,
800, 600, 800, 600
};
-
+*/
// logger->log("allocate: %d, %ld", mVboCached, sizeof(vertices));
// logger->log("allocate ebo: %d, %ld", mEboCached, sizeof(elements));
// mglBufferData(GL_ARRAY_BUFFER, sizeof(vertices),