From 56ec560c881af787396032015b5194e14cd1148f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 8 Feb 2016 18:58:42 +0100 Subject: [PATCH] Fix sequence of primitives while rendering (nw) --- src/osd/modules/render/drawbgfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/modules/render/drawbgfx.cpp b/src/osd/modules/render/drawbgfx.cpp index 6eaaa2d2fb2..8f0bc447d6e 100644 --- a/src/osd/modules/render/drawbgfx.cpp +++ b/src/osd/modules/render/drawbgfx.cpp @@ -752,6 +752,7 @@ int renderer_bgfx::draw(int update) width = wdim.width(); height = wdim.height(); #endif + bgfx::setViewSeq(0, true); bgfx::setViewRect(0, 0, 0, width, height); bgfx::reset(width, height, video_config.waitvsync ? BGFX_RESET_VSYNC : BGFX_RESET_NONE); // Setup view transform. @@ -779,7 +780,6 @@ int renderer_bgfx::draw(int update) bgfx::touch(0); window().m_primlist->acquire_lock(); - // Draw quad. // now draw uint32_t texture_flags = BGFX_TEXTURE_U_CLAMP | BGFX_TEXTURE_V_CLAMP;