|
From: <axl...@us...> - 2009-06-14 02:05:15
|
Revision: 319
http://hgengine.svn.sourceforge.net/hgengine/?rev=319&view=rev
Author: axlecrusher
Date: 2009-06-14 02:03:25 +0000 (Sun, 14 Jun 2009)
Log Message:
-----------
bug fixes
Modified Paths:
--------------
Mercury2/scenegraph.xml
Mercury2/src/MercuryFBO.cpp
Modified: Mercury2/scenegraph.xml
===================================================================
--- Mercury2/scenegraph.xml 2009-06-14 01:54:48 UTC (rev 318)
+++ Mercury2/scenegraph.xml 2009-06-14 02:03:25 UTC (rev 319)
@@ -10,7 +10,7 @@
<asset type="texture" file="screenFBO" dynamic="true"/>
<asset type="fullscreenquad"/>
</node>
- <node type="mercuryfbo" width="640" height="480" depth="false" tnum="1" name="screenFBO">
+ <node type="mercuryfbo" width="640" height="480" depth="true" tnum="1" name="screenFBO">
<node type="transformnode" rotx="-90" movz="-10" movx="0" movy="-5">
<node type="renderablenode">
<asset type="texture" file="map.png"/>
Modified: Mercury2/src/MercuryFBO.cpp
===================================================================
--- Mercury2/src/MercuryFBO.cpp 2009-06-14 01:54:48 UTC (rev 318)
+++ Mercury2/src/MercuryFBO.cpp 2009-06-14 02:03:25 UTC (rev 319)
@@ -83,7 +83,7 @@
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushAttrib(GL_VIEWPORT_BIT);
- glViewport(0,0,m_width, m_width);
+// glViewport(0,0,m_width, m_width);
RenderableNode::Render(matrix);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|