making it work
This commit is contained in:
@@ -335,6 +335,9 @@ GLuint compose_sequence(Viewer* viewer,
|
||||
|
||||
glBegin(GL_QUADS);
|
||||
|
||||
QOpenGLShaderProgram program;
|
||||
program.bind();
|
||||
|
||||
if (coords.grid_size <= 1) {
|
||||
float z = 0.0f;
|
||||
|
||||
@@ -379,6 +382,8 @@ GLuint compose_sequence(Viewer* viewer,
|
||||
}
|
||||
}
|
||||
|
||||
program.release();
|
||||
|
||||
glEnd();
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, 0); // unbind texture
|
||||
|
||||
Reference in New Issue
Block a user