[nostalgia/core/opengl] Fix sprite drawing for instances of core that are not application wide
This commit is contained in:
parent
597a8c736e
commit
d7a6bc4ae4
@ -357,9 +357,9 @@ ox::Error initGfx(
|
|||||||
for (auto &bg : gctx.cbbs) {
|
for (auto &bg : gctx.cbbs) {
|
||||||
initBackgroundBufferset(gctx.bgShader, bg);
|
initBackgroundBufferset(gctx.bgShader, bg);
|
||||||
}
|
}
|
||||||
|
initSpritesBufferset(gctx.spriteShader, gctx.spriteBlocks);
|
||||||
if (initParams.glInstallDrawer) {
|
if (initParams.glInstallDrawer) {
|
||||||
turbine::gl::addDrawer(gctx.turbineCtx, &gctx.drawer);
|
turbine::gl::addDrawer(gctx.turbineCtx, &gctx.drawer);
|
||||||
initSpritesBufferset(gctx.spriteShader, gctx.spriteBlocks);
|
|
||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user