adbrown85 / gloop

Lightweight C++ wrapper for OpenGL
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Program attribLocation and uniformLocation should return GLint #23

Closed adbrown85 closed 12 years ago

adbrown85 commented 12 years ago

Currently attribLocation and uniformLocation in Program return GLuint, but they should be GLint since OpenGL returns -1 for variables that aren't in the program.