mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
GRIM: Actors and billboards should not share the same shader uniforms
Fixes Manny's smoke idle animation
This commit is contained in:
parent
736a075cf3
commit
1908a43d18
@ -376,7 +376,7 @@ void GfxOpenGLS::setupShaders() {
|
||||
|
||||
static const char* actorAttributes[] = {"position", "texcoord", "color", "normal", NULL};
|
||||
_actorProgram = Graphics::Shader::fromFiles(isEMI ? "emi_actor" : "grim_actor", actorAttributes);
|
||||
_spriteProgram = _actorProgram->clone();
|
||||
_spriteProgram = Graphics::Shader::fromFiles(isEMI ? "emi_actor" : "grim_actor", actorAttributes);
|
||||
|
||||
static const char* primAttributes[] = { "position", NULL };
|
||||
_shadowPlaneProgram = Graphics::Shader::fromFiles("shadowplane", primAttributes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user