Skip to content

Commit

Permalink
CRender: Stub screenshot implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 26, 2015
1 parent f59ed27 commit 1feb9f5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Layers/xrRender/r__screenshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ IC void MouseRayFromPoint ( Fvector& direction, int x, int y, Fmatrix& m_CamMat
void CRender::ScreenshotImpl(ScreenshotMode mode, LPCSTR name, CMemoryWriter* memory_writer)
{
// TODO: OGL: Implement screenshot feature.
VERIFY(!"CRender::ScreenshotImpl not implemented.");
}

#elif defined(USE_DX10) || defined(USE_DX11)
Expand Down Expand Up @@ -448,7 +449,15 @@ void CRender::ScreenshotAsyncBegin()
m_bMakeAsyncSS = true;
}

#if defined(USE_DX10) || defined(USE_DX11)
#if defined(USE_OGL)

void CRender::ScreenshotAsyncEnd(CMemoryWriter &memory_writer)
{
// TODO: OGL: Implement screenshot feature.
VERIFY(!"CRender::ScreenshotAsyncEnd not implemented.");
}

#elif defined(USE_DX10) || defined(USE_DX11)

void CRender::ScreenshotAsyncEnd(CMemoryWriter &memory_writer)
{
Expand Down

0 comments on commit 1feb9f5

Please sign in to comment.