From e8af14d02811c8cd0c3d30306825af68e05a2c58 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 29 Sep 2020 01:01:30 -0400 Subject: [PATCH] CNESEmulator: Fix create_dynamic_texture2d call --- NESEmulator/CNESEmulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NESEmulator/CNESEmulator.cpp b/NESEmulator/CNESEmulator.cpp index 75ac0af33..e36344f1e 100644 --- a/NESEmulator/CNESEmulator.cpp +++ b/NESEmulator/CNESEmulator.cpp @@ -260,7 +260,7 @@ void CNESEmulator::InitializeEmulator() { // mainLoopRuns = nesPAL ? DOTS*ppuCycleTimer : DOTS*ppuCycleTimer; // mainLoopPos = mainLoopRuns; - m_texture = hsh::create_dynamic_texture2d({VISIBLE_DOTS, linesToDraw}, hsh::RGBA8_UNORM, 1); + m_texture = hsh::create_dynamic_texture2d({VISIBLE_DOTS, linesToDraw}, hsh::RGBA8_UNORM, 1); constexpr TexUVVert verts[4] = { {{-1.f, -1.f, 0.f}, {0.f, 1.f}}, {{-1.f, 1.f, 0.f}, {0.f, 0.f}},