libretro: crosshair/vmu invisible with gl per-triangle/per-strip

libretro needs ofbo.aspectRatio to be set when drawing crosshairs and
vmus
This commit is contained in:
Flyinghead 2023-11-15 11:47:34 +01:00
parent ab25cc73a9
commit 73cbd7a183
1 changed files with 2 additions and 2 deletions

View File

@ -1401,13 +1401,13 @@ bool OpenGLRenderer::renderFrame(int width, int height)
ReadRTTBuffer();
else if (config::EmulateFramebuffer)
writeFramebufferToVRAM();
#ifndef LIBRETRO
else {
gl.ofbo.aspectRatio = getOutputFramebufferAspectRatio();
#ifndef LIBRETRO
gl.ofbo2.ready = false;
renderLastFrame();
}
#endif
}
GlVertexArray::unbind();
return !is_rtt;