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:
parent
ab25cc73a9
commit
73cbd7a183
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue