fixed light.
This commit is contained in:
parent
44a7048c4a
commit
0f52038a8e
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,8 @@ namespace endofthejedi {
|
||||||
|
|
||||||
bool render(Shader& shader)
|
bool render(Shader& shader)
|
||||||
{
|
{
|
||||||
|
(void) shader;
|
||||||
|
|
||||||
if (!m_binding_active || !m_loaded_to_opengl) {
|
if (!m_binding_active || !m_loaded_to_opengl) {
|
||||||
std::cout<<"[polygonmodel] warning: try to render model without bind()" << std::endl;
|
std::cout<<"[polygonmodel] warning: try to render model without bind()" << std::endl;
|
||||||
exit(-1);
|
exit(-1);
|
||||||
|
|
Loading…
Reference in a new issue