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-e03cc46cb475master
parent
915bb23fa7
commit
9f25d03159
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue