]> git.sesse.net Git - nageru/blobdiff - jpeg_frame_view.cpp
Start hacking in support for interpolated frames in the main application.
[nageru] / jpeg_frame_view.cpp
index 16224ad3db7fbd19df2ab465e30aacae335f14e9..3d35e5e8818e11254458543c30038947efbc0d7b 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "defs.h"
 #include "post_to_main_thread.h"
+#include "video_stream.h"
 
 using namespace movit;
 using namespace std;
@@ -221,14 +222,11 @@ void JPEGFrameView::initializeGL()
 {
        glDisable(GL_BLEND);
        glDisable(GL_DEPTH_TEST);
-       glDepthMask(GL_FALSE);
        check_error();
 
        static once_flag once;
        call_once(once, [] {
-               CHECK(init_movit(MOVIT_SHADER_DIR, MOVIT_DEBUG_OFF));
                resource_pool = new ResourcePool;
-
                std::thread(&jpeg_decoder_thread).detach();
        });