Fixed intro gamestate

This commit is contained in:
Grayson Riffe (Laptop) 2021-09-13 08:20:12 -05:00
parent d74035fc64
commit 4b14362a04

View File

@ -142,6 +142,7 @@ namespace nf {
void Renderer::doFrame(Camera* camera, double dT) {
//Begin frame
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glViewport(0, 0, m_app->getConfig().width, m_app->getConfig().height);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
camera->bind(m_entityShader, m_cubemapShader);