Compare commits
1 Commits
4002030de8
...
main
| Author | SHA256 | Date | |
|---|---|---|---|
| 1665569326 |
@@ -1,6 +1,7 @@
|
||||
#include "Camera.hpp"
|
||||
#include "elements/Transformable.hpp"
|
||||
#include "interfaces/IRenderer.hpp"
|
||||
#include "interfaces/IWindow.hpp"
|
||||
#include "uuid.h"
|
||||
|
||||
TSE::Camera* TSE::Camera::mainCamera = nullptr;
|
||||
@@ -213,5 +214,8 @@ void TSE::Camera::Unbind()
|
||||
|
||||
void TSE::Camera::UpdateRenderTarget()
|
||||
{
|
||||
rt->Update();
|
||||
if (dynamic_cast<IWindow*>(rt) == nullptr)
|
||||
{
|
||||
rt->Update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user