git-svn-id: svn://db.shs.com.ru/libs@659 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -191,7 +191,7 @@ QVector<float> Framebuffer::grabF(int index) const {
|
||||
}
|
||||
|
||||
|
||||
void Framebuffer::blit(int index_from, GLuint fb_to, int index_to, QRect from, QRect to, GLbitfield mask, GLenum filter) {
|
||||
void Framebuffer::blit(int index_from, GLuint fb_to, int index_to, QRect from, QRect to, GLbitfield mask, GLenum filter) const {
|
||||
if (index_from < 0 || index_from >= colors.size()) return;
|
||||
GLenum e = GL_COLOR_ATTACHMENT0 + index_to;
|
||||
f->glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fb_to);
|
||||
|
||||
Reference in New Issue
Block a user