mirror of https://github.com/AxioDL/metaforce.git
CNESEmulator: Fix create_dynamic_texture2d call
This commit is contained in:
parent
811339afc6
commit
e8af14d028
|
@ -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}},
|
||||||
|
|
Loading…
Reference in New Issue