, attached_texture_(0)\r
, active_shader_(0)\r
{\r
+ CASPAR_LOG(info) << L"Initializing OpenGL Device.";\r
+\r
std::fill(binded_textures_.begin(), binded_textures_.end(), 0);\r
std::fill(viewport_.begin(), viewport_.end(), 0);\r
std::fill(scissor_.begin(), scissor_.end(), 0);\r
\r
if (glewInit() != GLEW_OK)\r
BOOST_THROW_EXCEPTION(gl::ogl_exception() << msg_info("Failed to initialize GLEW."));\r
- \r
- if(!GLEW_VERSION_3_2)\r
- CASPAR_LOG(warning) << "Missing OpenGL 3.2 support.";\r
+ \r
+ if(!GLEW_VERSION_3_0)\r
+ CASPAR_LOG(warning) << "Missing OpenGL 3.0 support.";\r
\r
+ CASPAR_LOG(info) << L"Successfully initialized GLEW.";\r
+\r
GL(glGenFramebuffers(1, &fbo_)); \r
GL(glBindFramebuffer(GL_FRAMEBUFFER_EXT, fbo_));\r
GL(glReadBuffer(GL_COLOR_ATTACHMENT0_EXT));\r
GL(glDisable(GL_MULTISAMPLE_ARB));\r
+\r
+ CASPAR_LOG(info) << L"Successfully initialized OpenGL Device.";\r
});\r
}\r
\r