Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force a binding value for sampler2D uniforms. glGetUniformiv() always returns -1 for sampler2D with Windows AMD drivers, whereas Mesa returns the correct binding value set in the GLSL source. Don't know for other drivers, but forcing an arbitrary value is fine since sampler2D uniforms are binded using built-in identifiers and texture names.
- Loading branch information