Reset attribute configuration on shader program change
This commit is contained in:
parent
a91889f5ba
commit
7a55e4554a
@ -332,7 +332,7 @@ void C3D_BindProgram(shaderProgram_s* program)
|
|||||||
if (oldProg != program)
|
if (oldProg != program)
|
||||||
{
|
{
|
||||||
ctx->program = program;
|
ctx->program = program;
|
||||||
ctx->flags |= C3DiF_Program;
|
ctx->flags |= C3DiF_Program | C3DiF_AttrInfo;
|
||||||
|
|
||||||
if (oldProg)
|
if (oldProg)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user