Kaydet (Commit) 248a8d6c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

move the declaration to the top of the file

Change-Id: I6b062a4a1c5c4e64846cecd2fd44549de9c516a8
üst e478b1da
......@@ -55,6 +55,13 @@ int static checkGLError(const char *file, int line)
#define CHECK_GL_ERROR() checkGLError(__FILE__, __LINE__)
GLfloat texCoords[] = {
0.0f, 0.0f,
1.0f, 0.0f,
1.0f, 1.0f,
0.0f, 1.0f
};
}
OpenGL3DRenderer::OpenGL3DRenderer():
......@@ -94,17 +101,6 @@ OpenGL3DRenderer::OpenGL3DRenderer():
m_RoundBarMesh.iMeshSizes = 0;
}
namespace {
GLfloat texCoords[] = {
0.0f, 0.0f,
1.0f, 0.0f,
1.0f, 1.0f,
0.0f, 1.0f
};
}
void OpenGL3DRenderer::LoadShaders()
{
m_3DProID = OpenGLHelper::LoadShaders("shape3DVertexShader", "shape3DFragmentShader");
......
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