fix unreferenced local variable warning

This commit is contained in:
linesight
2018-09-20 00:33:58 -07:00
parent 437ba8b08d
commit 95a8b4dd8c

View File

@@ -48,8 +48,6 @@ public:
const char * fShaderCode = fragmentCode.c_str();
// 2. compile shaders
unsigned int vertex, fragment;
int success;
char infoLog[512];
// vertex shader
vertex = glCreateShader(GL_VERTEX_SHADER);
glShaderSource(vertex, 1, &vShaderCode, NULL);