fixed light.

This commit is contained in:
Andreas Ortmann 2016-09-29 08:30:32 +02:00
parent 44a7048c4a
commit 0f52038a8e

View file

@ -155,6 +155,8 @@ namespace endofthejedi {
bool render(Shader& shader)
{
(void) shader;
if (!m_binding_active || !m_loaded_to_opengl) {
std::cout<<"[polygonmodel] warning: try to render model without bind()" << std::endl;
exit(-1);