mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 18:38:12 +00:00
[idd] driver: very experimental change to syncronization
This may get reverted, at this point it's an experiment for the testers to trial.
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
#include "CSwapChainProcessor.h"
|
||||
#include "CDebug.h"
|
||||
|
||||
bool CFrameBufferResource::Init(CSwapChainProcessor * swapChain, uint8_t * base, size_t size)
|
||||
bool CFrameBufferResource::Init(CSwapChainProcessor * swapChain, unsigned frameIndex, uint8_t * base, size_t size)
|
||||
{
|
||||
m_frameIndex = frameIndex;
|
||||
|
||||
if (size > swapChain->GetDevice()->GetMaxFrameSize())
|
||||
{
|
||||
DEBUG_ERROR("Frame size of %lu is too large to fit in available shared ram");
|
||||
|
Reference in New Issue
Block a user