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:
@@ -1,3 +1,5 @@
|
||||
#ifndef ShaderProgram_h__
|
||||
#define ShaderProgram_h__
|
||||
|
||||
#include "../Common.h"
|
||||
#include "../OpenGL.h"
|
||||
@@ -79,3 +81,5 @@ private:
|
||||
GLuint m_ShaderProgramHandle;
|
||||
std::vector<std::shared_ptr<Shader>> m_Shaders;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user