fixed effects when opengl context changes

This commit is contained in:
itsmattkc
2018-09-01 17:37:34 +10:00
parent 21b408f5cb
commit cf35ea23bb
14 changed files with 105 additions and 98 deletions
+1 -6
View File
@@ -11,12 +11,7 @@ public:
EffectField* solid_color_field;
EffectField* opacity_field;
void process_gl(double timecode, GLTextureCoords& coords);
void clean_gl();
void process_image(long p, uint8_t* data, int width, int height);
private:
QOpenGLShaderProgram program;
QOpenGLShader vert;
QOpenGLShader frag;
void process_image(long p, uint8_t* data, int width, int height);
};
#endif // SOLIDEFFECT_H