Browse Source

tutorial: fix uninitialised memory in the FBO demo.

legacy
Sam Hocevar sam 11 years ago
parent
commit
65929156dd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tutorial/08_fbo.cpp

+ 2
- 1
tutorial/08_fbo.cpp View File

@@ -24,6 +24,8 @@ class FBO : public WorldEntity
{
public:
FBO()
: m_time(0.f),
m_ready(false)
{
m_vertices << vec2( 1.0, 1.0);
m_vertices << vec2(-1.0, -1.0);
@@ -31,7 +33,6 @@ public:
m_vertices << vec2(-1.0, -1.0);
m_vertices << vec2( 1.0, 1.0);
m_vertices << vec2(-1.0, 1.0);
m_ready = false;
}

virtual void TickGame(float seconds)


Loading…
Cancel
Save