mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
Changed: comment nldebug on driver_openg_texture to prevent Gigabits of logs
--HG-- branch : compatibility-develop
This commit is contained in:
parent
c43627159c
commit
70823d15a9
1 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ CTextureDrvInfosGL::~CTextureDrvInfosGL()
|
||||||
|
|
||||||
CDepthStencilFBO::CDepthStencilFBO(CDriverGL *driver, uint width, uint height)
|
CDepthStencilFBO::CDepthStencilFBO(CDriverGL *driver, uint width, uint height)
|
||||||
{
|
{
|
||||||
nldebug("3D: Init shared FBO");
|
//nldebug("3D: Init shared FBO");
|
||||||
|
|
||||||
m_Driver = driver;
|
m_Driver = driver;
|
||||||
Width = width;
|
Width = width;
|
||||||
|
@ -142,7 +142,7 @@ CDepthStencilFBO::~CDepthStencilFBO()
|
||||||
|
|
||||||
if (DepthFBOId)
|
if (DepthFBOId)
|
||||||
{
|
{
|
||||||
nldebug("3D: Release shared FBO");
|
//nldebug("3D: Release shared FBO");
|
||||||
nglDeleteRenderbuffersEXT(1, &DepthFBOId);
|
nglDeleteRenderbuffersEXT(1, &DepthFBOId);
|
||||||
if (StencilFBOId == DepthFBOId)
|
if (StencilFBOId == DepthFBOId)
|
||||||
StencilFBOId = 0;
|
StencilFBOId = 0;
|
||||||
|
@ -191,10 +191,10 @@ bool CTextureDrvInfosGL::initFrameBufferObject(ITexture * tex)
|
||||||
}
|
}
|
||||||
nglFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT,
|
nglFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT,
|
||||||
GL_RENDERBUFFER_EXT, DepthStencilFBO->DepthFBOId);
|
GL_RENDERBUFFER_EXT, DepthStencilFBO->DepthFBOId);
|
||||||
nldebug("3D: glFramebufferRenderbufferExt(depth:24) = %X", nglCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT));
|
//nldebug("3D: glFramebufferRenderbufferExt(depth:24) = %X", nglCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT));
|
||||||
nglFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_STENCIL_ATTACHMENT_EXT,
|
nglFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_STENCIL_ATTACHMENT_EXT,
|
||||||
GL_RENDERBUFFER_EXT, DepthStencilFBO->StencilFBOId);
|
GL_RENDERBUFFER_EXT, DepthStencilFBO->StencilFBOId);
|
||||||
nldebug("3D: glFramebufferRenderbufferExt(stencil:8) = %X", nglCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT));
|
//nldebug("3D: glFramebufferRenderbufferExt(stencil:8) = %X", nglCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT));
|
||||||
}
|
}
|
||||||
|
|
||||||
// check status
|
// check status
|
||||||
|
|
Loading…
Reference in a new issue