From cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Oct 2011 22:17:21 +0300 Subject: Add command to dump to chat main graphics settings. Command: /dumpg --- src/openglgraphics.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/openglgraphics.cpp') diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 2ec5db490..049556c76 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -53,6 +53,7 @@ OpenGLGraphics::OpenGLGraphics(): mAlpha(false), mTexture(false), mColorAlpha(false), mSync(false) { + mOpenGL = 1; mFloatTexArray = new GLfloat[vertexBufSize * 4 + 30]; mIntTexArray = new GLint[vertexBufSize * 4 + 30]; mIntVertArray = new GLint[vertexBufSize * 4 + 30]; -- cgit v1.2.3-60-g2f50