PickingPass now sets state and clear it when done.

PickingState now it's own class so renderer is a bit cleaner.
This commit is contained in:
Tleety
2015-12-11 11:18:30 +01:00
parent cefc4e5257
commit 91edab34bc
9 changed files with 264 additions and 104 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ inline bool _GLERROR(const char* info, const char* file, const char* func, unsig
GLenum error = glGetError();
if (error != GL_NO_ERROR)
{
_LOG(LOG_LEVEL_ERROR, file, func, line, "GL Error: %s %i %s", info, error, gluErrorString(error));
_LOG(LOG_LEVEL_ERROR, file, func, line, "GL Error: %s, %i, %s", info, error, gluErrorString(error));
return true;
}