move the declaration to the top of the file
Change-Id: I6b062a4a1c5c4e64846cecd2fd44549de9c516a8
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user