Is this default behaviour okay, or should the header pass the same default format so the error does not list... what is the correct ECF value here?
Code: Select all
//! RTT DepthBuffer constructor
COpenGLFBODepthTexture::COpenGLFBODepthTexture(
const core::dimension2d<u32>& size,
const io::path& name,
COpenGLDriver* driver,
bool useStencil)
: COpenGLFBOTexture(size, name, driver, ECF_A8R8G8B8), DepthRenderBuffer(0), // Robmar mod - set format (was ECF_UNKNOWN by default)
/* : COpenGLFBOTexture(size, name, driver), DepthRenderBuffer(0),*/
StencilRenderBuffer(0), UseStencil(useStencil)