implement display capture for compute renderer

it's actually just all stolen from the regular OpenGL renderer
This commit is contained in:
RSDuck
2023-04-13 23:14:20 +02:00
parent 91bea108ea
commit 5984c78588
6 changed files with 42 additions and 3 deletions

View File

@ -367,7 +367,7 @@ void SoftRenderer::VBlankEnd(Unit* unitA, Unit* unitB)
{
if ((unitA->CaptureCnt & (1<<31)) && (((unitA->CaptureCnt >> 29) & 0x3) != 1))
{
//reinterpret_cast<GPU3D::GLRenderer*>(GPU3D::CurrentRenderer.get())->PrepareCaptureFrame();
reinterpret_cast<GPU3D::GLRenderer*>(GPU3D::CurrentRenderer.get())->PrepareCaptureFrame();
}
}
#endif