Moved FBO check method for systems without this extension.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1709 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2008-11-07 12:29:05 +00:00
parent 915bb23fa7
commit 9f25d03159
1 changed files with 3 additions and 3 deletions

View File

@ -618,12 +618,12 @@ void COpenGLFBODepthTexture::attach(ITexture* renderTex)
GL_RENDERBUFFER_EXT,
DepthRenderBuffer);
}
#endif
rtt->DepthTexture=this;
renderTex->grab();
// check the status
if (!checkFBOStatus(Driver))
os::Printer::log("FBO incomplete");
#endif
rtt->DepthTexture=this;
renderTex->grab();
rtt->unbindRTT();
}