Fix not drawing all cells
All checks were successful
Make PNG / build-app (push) Successful in 55s

This commit is contained in:
Shylie 2024-06-14 20:32:08 -04:00
parent 4811e4d970
commit 76bfd67f4e

View File

@ -275,7 +275,7 @@ namespace glerminal
glBindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); glBindFramebuffer(GL_FRAMEBUFFER, m_framebuffer);
glBindVertexArray(m_vao); glBindVertexArray(m_vao);
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
glDrawArraysInstanced(GL_TRIANGLES, 0, 6, GRID_AREA * LAYER_COUNT); glDrawArraysInstanced(GL_TRIANGLES, 0, 6, GRID_AREA_2 * LAYER_COUNT);
glUseProgram(m_screen_program); glUseProgram(m_screen_program);
glBindFramebuffer(GL_FRAMEBUFFER, m_screen_framebuffer); glBindFramebuffer(GL_FRAMEBUFFER, m_screen_framebuffer);