Properly bind the shader sampler and uniform bindings
This commit is contained in:
		| @@ -188,6 +188,8 @@ public: | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     void Inject(OGLProgram&& program) { |     void Inject(OGLProgram&& program) { | ||||||
|  |         SetShaderUniformBlockBindings(program.handle); | ||||||
|  |         SetShaderSamplerBindings(program.handle); | ||||||
|         shader_or_program = std::move(program); |         shader_or_program = std::move(program); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user