From: ronag Date: Thu, 9 Jun 2011 14:57:03 +0000 (+0000) Subject: git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches... X-Git-Tag: 2.0.1~444 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2537e4e01e2ab2802dd4e571809064d78fbdbd27;p=casparcg git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.0.0.2@871 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d --- diff --git a/core/mixer/gpu/ogl_device.cpp b/core/mixer/gpu/ogl_device.cpp index 637f7b9a1..b4a684424 100644 --- a/core/mixer/gpu/ogl_device.cpp +++ b/core/mixer/gpu/ogl_device.cpp @@ -35,9 +35,6 @@ ogl_device::ogl_device() : executor_(L"ogl_device") context_.reset(new sf::Context()); context_->SetActive(true); - if(!GLEE_VERSION_3_0) - BOOST_THROW_EXCEPTION(not_supported() << msg_info("Missing OpenGL 3.0 support.")); - GL(glGenFramebuffers(1, &fbo_)); GL(glBindFramebuffer(GL_FRAMEBUFFER_EXT, fbo_)); GL(glReadBuffer(GL_COLOR_ATTACHMENT0_EXT)); diff --git a/core/mixer/image/image_mixer.cpp b/core/mixer/image/image_mixer.cpp index c0f2a1e28..04c9fc886 100644 --- a/core/mixer/image/image_mixer.cpp +++ b/core/mixer/image/image_mixer.cpp @@ -85,6 +85,12 @@ public: , layer_key_(false) { transform_stack_.push(core::image_transform()); + + channel_.ogl().invoke([=] + { + if(!GLEE_VERSION_3_0) + BOOST_THROW_EXCEPTION(not_supported() << msg_info("Missing OpenGL 3.0 support.")); + }); } void begin(const core::basic_frame& frame) diff --git a/modules/decklink/interop/DeckLinkAPI_h.h b/modules/decklink/interop/DeckLinkAPI_h.h index 385d65eb1..bb33eea1c 100644 --- a/modules/decklink/interop/DeckLinkAPI_h.h +++ b/modules/decklink/interop/DeckLinkAPI_h.h @@ -4,7 +4,7 @@ /* File created by MIDL compiler version 7.00.0555 */ -/* at Wed Jun 08 10:03:03 2011 +/* at Thu Jun 09 13:48:27 2011 */ /* Compiler settings for interop\DeckLinkAPI.idl: Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 diff --git a/shell/casparcg.config b/shell/casparcg.config new file mode 100644 index 000000000..41173f595 --- /dev/null +++ b/shell/casparcg.config @@ -0,0 +1,62 @@ + + + + L:\\Casparcg\\_media\\ + L:\\Casparcg\\_log\\ + L:\\Casparcg\\_data\\ + L:\\Casparcg\\_templates\\ + cg.fth.18 + + + true + + + + 1080i5000 + + + 1 + true + true + true + false + + + + + + + 5250 + AMCP + + + + + + + diff --git a/shell/main.cpp b/shell/main.cpp index 4b78cf703..b99aa7e07 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -162,7 +162,7 @@ int main(int argc, wchar_t* argv[]) try { // Configure environment properties from configuration. - caspar::env::configure("caspar.config"); + caspar::env::configure("casparcg.config"); #ifdef _DEBUG if(caspar::env::properties().get("configuration.debugging.remote", false)) diff --git a/shell/shell.vcxproj b/shell/shell.vcxproj index 3f4ec5fae..b719ca867 100644 --- a/shell/shell.vcxproj +++ b/shell/shell.vcxproj @@ -60,7 +60,7 @@ - + Designer @@ -198,7 +198,7 @@ copy "$(SolutionDir)dlls\*.dll" "$(OutDir)" -copy "$(ProjectDir)caspar.config" "$(OutDir)" +copy "$(ProjectDir)casparcg.config" "$(OutDir)" @@ -253,7 +253,7 @@ copy "$(ProjectDir)caspar.config" "$(OutDir)" copy "$(SolutionDir)dlls\*.dll" "$(OutDir)" -copy "$(ProjectDir)caspar.config" "$(OutDir)" +copy "$(ProjectDir)casparcg.config" "$(OutDir)" @@ -308,7 +308,7 @@ copy "$(ProjectDir)caspar.config" "$(OutDir)" copy "$(SolutionDir)dlls\*.dll" "$(OutDir)" -copy "$(ProjectDir)caspar.config" "$(OutDir)" +copy "$(ProjectDir)casparcg.config" "$(OutDir)" @@ -363,7 +363,7 @@ copy "$(ProjectDir)caspar.config" "$(OutDir)" copy "$(SolutionDir)dlls\*.dll" "$(OutDir)" -copy "$(ProjectDir)caspar.config" "$(OutDir)" +copy "$(ProjectDir)casparcg.config" "$(OutDir)" diff --git a/shell/shell.vcxproj.filters b/shell/shell.vcxproj.filters index 3e3f7f652..c38757d0e 100644 --- a/shell/shell.vcxproj.filters +++ b/shell/shell.vcxproj.filters @@ -5,8 +5,8 @@ - +