From: <axl...@us...> - 2009-06-13 21:56:36
|
Revision: 317 http://hgengine.svn.sourceforge.net/hgengine/?rev=317&view=rev Author: axlecrusher Date: 2009-06-13 21:56:35 +0000 (Sat, 13 Jun 2009) Log Message: ----------- update Modified Paths: -------------- Mercury2/adv_set.c Mercury2/src/MercuryFBO.cpp Modified: Mercury2/adv_set.c =================================================================== --- Mercury2/adv_set.c 2009-06-13 21:30:11 UTC (rev 316) +++ Mercury2/adv_set.c 2009-06-13 21:56:35 UTC (rev 317) @@ -12,7 +12,7 @@ src/MercuryFile.cpp src/MercuryTimer.cpp src/MercuryMessageManager.cpp src/MercuryVertex.cpp \ src/MercuryPlane.cpp src/BoundingBox.cpp src/Shader.cpp src/RenderGraph.cpp src/Frustum.cpp \ src/Camera.cpp src/MercuryInput.cpp src/MQuaternion.cpp src/ModuleManager.cpp src/MercuryFBO.cpp \ - src/RenderBuffer.cpp src/GLHelpers.cpp" + src/GLHelpers.cpp" SOURCES="$SOURCES src/MercuryFileDriverDirect.cpp src/MercuryFileDriverMem.cpp \ src/MercuryFileDriverPacked.cpp src/MercuryFileDriverZipped.cpp" Modified: Mercury2/src/MercuryFBO.cpp =================================================================== --- Mercury2/src/MercuryFBO.cpp 2009-06-13 21:30:11 UTC (rev 316) +++ Mercury2/src/MercuryFBO.cpp 2009-06-13 21:56:35 UTC (rev 317) @@ -80,7 +80,7 @@ // m_lastInStask = m_lastRendered; } - glClear(GL_COLOR_BUFFER_BIT ); + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glPushAttrib(GL_VIEWPORT_BIT); glViewport(0,0,m_width, m_width); @@ -107,7 +107,6 @@ void MercuryFBO::LoadFromXML(const XMLNode& node) { - printf("load\n"); if ( !node.Attribute("width").empty() ) SetWidth( StrToInt(node.Attribute("width")) ); @@ -120,8 +119,6 @@ if ( !node.Attribute("tnum").empty() ) SetNumTextures( StrToInt(node.Attribute("tnum")) ); - printf("%d %d %d %d\n", m_width, m_height, m_useDepth, m_numTextures); - RenderableNode::LoadFromXML(node); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |