]> git.sesse.net Git - casparcg/blobdiff - accelerator/ogl/util/device.cpp
2.1.0: device: Changed buffer allocation priority to get around multiple queued block...
[casparcg] / accelerator / ogl / util / device.cpp
index ab453398425ca9953b6e4fff4b53e4a15cbe0684..68ed4c3581805d8e802db999280d96ce6ccd97c2 100644 (file)
@@ -190,7 +190,7 @@ struct device::impl : public std::enable_shared_from_this<impl>
                        buf = alloc_executor_.invoke([&]\r
                        {\r
                                return spl::make_shared<buffer>(size, usage);\r
-                       });\r
+                       }, task_priority::high_priority);\r
                }\r
                \r
                auto self = shared_from_this(); // buffers can leave the device context, take a hold on life-time.\r