Commit f1b0321e authored by Christopher Tenter's avatar Christopher Tenter
Browse files

get rid of initialization warning in GLStateContext constructor

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 276e7330
......@@ -118,7 +118,7 @@ struct GLStateContext
// it contains a copy of the OpenGL state machine
GLStateContext() { activeTexture_ = GL_TEXTURE0;}
GLStateContext() { activeTexture_ = GL_TEXTURE0; activeDrawBuffer_ = 0;}
// glEnable / glDisable states
// iff a bit is set for a state, it is enabled in OpenGL
......@@ -171,6 +171,8 @@ public:
// vertex pointers, used in glVertexPointer, glTexcoordPointer..
struct GLVertexPointer
GLVertexPointer() : size(0), type(0), stride(0), pointer(0) {}
GLint size;
GLenum type;
GLsizei stride;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment