mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Code cleanup: remove unused move constructor for DepthBuffer
This commit is contained in:
parent
e2f95085dd
commit
89406ddd1c
|
@ -26,25 +26,6 @@ DepthBuffer::DepthBuffer() : m_address(0), m_width(0), m_ulx(0), m_uly(0), m_lrx
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DepthBuffer::DepthBuffer(DepthBuffer && _other) :
|
|
||||||
m_address(_other.m_address), m_width(_other.m_width),
|
|
||||||
m_ulx(_other.m_ulx), m_uly(_other.m_uly), m_lrx(_other.m_lrx), m_lry(_other.m_lry),
|
|
||||||
m_pDepthImageZTexture(_other.m_pDepthImageZTexture),
|
|
||||||
m_pDepthImageDeltaZTexture(_other.m_pDepthImageDeltaZTexture), m_pDepthBufferTexture(_other.m_pDepthBufferTexture),
|
|
||||||
m_depthRenderbuffer(_other.m_depthRenderbuffer), m_depthRenderbufferWidth(_other.m_depthRenderbufferWidth),
|
|
||||||
m_cleared(_other.m_cleared), m_pResolveDepthBufferTexture(_other.m_pResolveDepthBufferTexture), m_resolved(_other.m_resolved),
|
|
||||||
m_pDepthBufferCopyTexture(_other.m_pDepthBufferCopyTexture), m_copied(_other.m_copied)
|
|
||||||
{
|
|
||||||
_other.m_pDepthImageZTexture = nullptr;
|
|
||||||
_other.m_pDepthImageDeltaZTexture = nullptr;
|
|
||||||
_other.m_pDepthBufferTexture = nullptr;
|
|
||||||
_other.m_depthRenderbuffer = ObjectHandle::null;
|
|
||||||
_other.m_pResolveDepthBufferTexture = nullptr;
|
|
||||||
_other.m_resolved = false;
|
|
||||||
_other.m_pDepthBufferCopyTexture = nullptr;
|
|
||||||
_other.m_copied = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
DepthBuffer::~DepthBuffer()
|
DepthBuffer::~DepthBuffer()
|
||||||
{
|
{
|
||||||
gfxContext.deleteFramebuffer(m_depthRenderbuffer);
|
gfxContext.deleteFramebuffer(m_depthRenderbuffer);
|
||||||
|
|
|
@ -11,7 +11,6 @@ struct FrameBuffer;
|
||||||
struct DepthBuffer
|
struct DepthBuffer
|
||||||
{
|
{
|
||||||
DepthBuffer();
|
DepthBuffer();
|
||||||
DepthBuffer(DepthBuffer && _other);
|
|
||||||
~DepthBuffer();
|
~DepthBuffer();
|
||||||
void initDepthImageTexture(FrameBuffer * _pBuffer);
|
void initDepthImageTexture(FrameBuffer * _pBuffer);
|
||||||
void initDepthBufferTexture(FrameBuffer * _pBuffer);
|
void initDepthBufferTexture(FrameBuffer * _pBuffer);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user