#include <asmlib.h>\r
#include <tbb/parallel_for.h>\r
\r
-tbb::atomic<int> g_count = tbb::atomic<int>();\r
-\r
namespace caspar { namespace accelerator { namespace ogl {\r
\r
struct device::impl : public std::enable_shared_from_this<impl>\r
: render_executor_(executor)\r
, alloc_executor_(L"OpenGL allocation context.")\r
{\r
- if(g_count++ > 1)\r
- CASPAR_LOG(warning) << L"Multiple OGL devices.";\r
-\r
CASPAR_LOG(info) << L"Initializing OpenGL Device.";\r
\r
auto ctx1 = render_executor_.invoke([=]() -> HGLRC \r