Commit 68b6a2fd authored by hybrid's avatar hybrid

Fix ATI_draw_buffers support

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3494 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8cf6ce43
......@@ -651,7 +651,11 @@ void COpenGLExtensionHandler::initExtensions(bool stencilBuffer)
glGetIntegerv(GL_MAX_DRAW_BUFFERS_ARB, &num);
MaxMultipleRenderTargets = static_cast<u8>(num);
}
#elif defined(GL_ATI_draw_buffers)
#endif
#if defined(GL_ATI_draw_buffers)
#ifdef GL_ARB_draw_buffers
else
#endif
if (FeatureAvailable[IRR_ATI_draw_buffers])
{
glGetIntegerv(GL_MAX_DRAW_BUFFERS_ATI, &num);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment