mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
style
This commit is contained in:
parent
2b51d48b2b
commit
f250cc14ab
@ -577,7 +577,8 @@ bool D3DVideo::frame(const void *frame,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
if(overlay.overlay_enabled) {
|
if(overlay.overlay_enabled)
|
||||||
|
{
|
||||||
overlay_render();
|
overlay_render();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -1260,7 +1261,8 @@ void D3DVideo::overlay_render()
|
|||||||
float u, v;
|
float u, v;
|
||||||
} vert[4];
|
} vert[4];
|
||||||
|
|
||||||
if(!overlay.vert_buf) {
|
if(!overlay.vert_buf)
|
||||||
|
{
|
||||||
dev->CreateVertexBuffer(
|
dev->CreateVertexBuffer(
|
||||||
sizeof(vert),
|
sizeof(vert),
|
||||||
dev->GetSoftwareVertexProcessing() ? D3DUSAGE_SOFTWAREPROCESSING : 0,
|
dev->GetSoftwareVertexProcessing() ? D3DUSAGE_SOFTWAREPROCESSING : 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user