CNESEmulator: Fix create_dynamic_texture2d call

This commit is contained in:
Luke Street 2020-09-29 01:01:30 -04:00
parent 811339afc6
commit e8af14d028
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ void CNESEmulator::InitializeEmulator() {
// mainLoopRuns = nesPAL ? DOTS*ppuCycleTimer : DOTS*ppuCycleTimer; // mainLoopRuns = nesPAL ? DOTS*ppuCycleTimer : DOTS*ppuCycleTimer;
// mainLoopPos = mainLoopRuns; // mainLoopPos = mainLoopRuns;
m_texture = hsh::create_dynamic_texture2d<float>({VISIBLE_DOTS, linesToDraw}, hsh::RGBA8_UNORM, 1); m_texture = hsh::create_dynamic_texture2d({VISIBLE_DOTS, linesToDraw}, hsh::RGBA8_UNORM, 1);
constexpr TexUVVert verts[4] = { constexpr TexUVVert verts[4] = {
{{-1.f, -1.f, 0.f}, {0.f, 1.f}}, {{-1.f, -1.f, 0.f}, {0.f, 1.f}},
{{-1.f, 1.f, 0.f}, {0.f, 0.f}}, {{-1.f, 1.f, 0.f}, {0.f, 0.f}},