2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-13 22:05:53 +00:00

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

View File

@ -260,7 +260,7 @@ void CNESEmulator::InitializeEmulator() {
// mainLoopRuns = nesPAL ? DOTS*ppuCycleTimer : DOTS*ppuCycleTimer;
// 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] = {
{{-1.f, -1.f, 0.f}, {0.f, 1.f}},
{{-1.f, 1.f, 0.f}, {0.f, 0.f}},