No need to clear the default buffer, will be totally overwritten each time
This commit is contained in:
parent
a899135e6f
commit
bd1b28970e
@ -16,7 +16,6 @@
|
|||||||
#include "Shaders/SkyboxShader.h"
|
#include "Shaders/SkyboxShader.h"
|
||||||
|
|
||||||
#include "Screen.h"
|
#include "Screen.h"
|
||||||
#include "Framebuffer.h"
|
|
||||||
|
|
||||||
#include "Camera.h"
|
#include "Camera.h"
|
||||||
#include "Input.h"
|
#include "Input.h"
|
||||||
@ -94,9 +93,6 @@ int main() {
|
|||||||
// Delete freed nodes
|
// Delete freed nodes
|
||||||
root->DoFree();
|
root->DoFree();
|
||||||
|
|
||||||
// Clear the default shader
|
|
||||||
FramebufferStack::GetStack()->curr->Clear();
|
|
||||||
|
|
||||||
// Start rendering to screen
|
// Start rendering to screen
|
||||||
screen.Enable();
|
screen.Enable();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user