Fix warnings

This commit is contained in:
Brad Davis 2016-09-29 13:27:04 -07:00
parent f3f55c9857
commit 53f358d77a

View file

@ -75,8 +75,8 @@ namespace gl {
return false;
}
GLuint glprogram = 0;
#ifdef SEPARATE_PROGRAM
GLuint glprogram = 0;
// so far so good, program is almost done, need to link:
GLuint glprogram = glCreateProgram();
if (!glprogram) {