Changed: comment nldebug on driver_openg_texture to prevent Gigabits of logs

--HG--
branch : compatibility-develop
This commit is contained in:
Nuno Gonçalves 2017-03-14 18:11:55 +01:00
parent c43627159c
commit 70823d15a9

View file

@ -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