mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-29 12:15:30 +00:00
GL: Fixed instance data attributes left enabled across frames. (#4096)
This commit is contained in:
@@ -10586,6 +10586,7 @@ namespace bgfx { namespace gl
|
||||
if (isValid(boundProgram) )
|
||||
{
|
||||
m_program[boundProgram.idx].unbindAttributes();
|
||||
m_program[boundProgram.idx].unbindInstanceData();
|
||||
boundProgram = BGFX_INVALID_HANDLE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user