X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplayback3d.h;h=4388624a88bb4c8135c38c976010927c1cd19dff;hb=7e5a0760f40ff787cc3d93cb7768a901ebe52809;hp=452b367c2facaa0aa127dcc8fffe8e6f2b367cbd;hpb=a6369311556cc1e1877142181d8606e4f68aa803;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/playback3d.h b/cinelerra-5.1/cinelerra/playback3d.h index 452b367c..4388624a 100644 --- a/cinelerra-5.1/cinelerra/playback3d.h +++ b/cinelerra-5.1/cinelerra/playback3d.h @@ -42,7 +42,7 @@ // use static presets YUV in bccolors.h #define BC_GL_MATRIX(shader, mat) \ - glUniformMatrix3fv(glGetUniformLocation(shader, #mat), 1, 0, YUV::mat) + glUniformMatrix3fv(glGetUniformLocation(shader, #mat), 1, 1, YUV::mat) #define BC_GL_VECTOR(shader, vec) \ glUniform3fv(glGetUniformLocation(shader, #vec), 1, YUV::vec) @@ -325,9 +325,9 @@ public: private: // Called by write_buffer and clear_frame to initialize OpenGL flags - void init_frame(Playback3DCommand *command); + void init_frame(Playback3DCommand *command, int is_yuv=0); void write_buffer_sync(Playback3DCommand *command); - void draw_output(Playback3DCommand *command); + void draw_output(Playback3DCommand *command, int flip_y); void clear_output_sync(Playback3DCommand *command); void clear_input_sync(Playback3DCommand *command); void overlay_sync(Playback3DCommand *command);