mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 20:39:18 +02:00
material changes, shader params, texture binding changes, more changes, ...
This commit is contained in:
@@ -33,8 +33,7 @@ void gl::postfx::apply(opengl_texture &src, framebuffer *dst)
|
||||
|
||||
program.bind();
|
||||
vao->bind();
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
src.bind();
|
||||
src.bind(0);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
glDepthMask(GL_FALSE);
|
||||
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
|
||||
|
||||
Reference in New Issue
Block a user