No need to clear the default buffer, will be totally overwritten each time

This commit is contained in:
Dane Johnson 2021-03-09 16:49:06 -06:00
parent 5bc1703b2c
commit b7a83a2876

View File

@ -16,7 +16,6 @@
#include "Shaders/SkyboxShader.h"
#include "Screen.h"
#include "Framebuffer.h"
#include "Camera.h"
#include "Input.h"
@ -94,9 +93,6 @@ int main() {
// Delete freed nodes
root->DoFree();
// Clear the default shader
FramebufferStack::GetStack()->curr->Clear();
// Start rendering to screen
screen.Enable();