blob: 76cef4e4dc94e4e0f6903ebc004cbf5d1271fde3 (
plain) (
tree)
|
|
#include "Renderer.hpp"
void RenderState::SetActiveVao(GLuint Vao) {
glBindVertexArray(Vao);
ActiveVao = Vao;
/*if (Vao != ActiveVao) {
}*/
}
void RenderState::SetActiveShader(GLuint Shader) {
if (Shader != ActiveShader) {
glUseProgram(Shader);
ActiveShader = Shader;
}
}
|