fixed corner pin regression

This commit is contained in:
itsmattkc
2019-01-30 14:11:45 +11:00
parent 8f9a3f37e3
commit e77d72f436
2 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ void CornerPinEffect::process_coords(double timecode, GLTextureCoords &coords, i
coords.vertexBottomRightY += bottom_right_y->get_double_value(timecode);
}
void CornerPinEffect::process_shader(double timecode, GLTextureCoords &coords) {
void CornerPinEffect::process_shader(double timecode, GLTextureCoords &coords, int iterations) {
glslProgram->setUniformValue("p0", (GLfloat) coords.vertexBottomLeftX, (GLfloat) coords.vertexBottomLeftY);
glslProgram->setUniformValue("p1", (GLfloat) coords.vertexBottomRightX, (GLfloat) coords.vertexBottomRightY);
glslProgram->setUniformValue("p2", (GLfloat) coords.vertexTopLeftX, (GLfloat) coords.vertexTopLeftY);