Optimize compilation time
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include "GPUBufferNull.h"
|
||||
#include "GPUSamplerNull.h"
|
||||
#include "GPUSwapChainNull.h"
|
||||
#include "Engine/Core/Log.h"
|
||||
#include "Engine/Graphics/Async/GPUTasksManager.h"
|
||||
|
||||
GPUDeviceNull::GPUDeviceNull()
|
||||
: GPUDevice(RendererType::Null, ShaderProfile::Unknown)
|
||||
@@ -89,13 +91,13 @@ void GPUDeviceNull::Draw()
|
||||
auto context = GetMainContext();
|
||||
|
||||
RenderBegin();
|
||||
TasksManager.FrameBegin();
|
||||
GetTasksManager()->FrameBegin();
|
||||
context->FrameBegin();
|
||||
|
||||
// don't render anything
|
||||
|
||||
context->FrameEnd();
|
||||
TasksManager.FrameEnd();
|
||||
GetTasksManager()->FrameEnd();
|
||||
RenderEnd();
|
||||
|
||||
DrawEnd();
|
||||
|
||||
Reference in New Issue
Block a user