Browse Source

Fixed missing bracket and re-added a button that was accidently deleted

Ousmane Traore 9 years ago
parent
commit
ea70fc7360
2 changed files with 3 additions and 1 deletions
  1. 1 1
      examples/Demo/src/Counter.cpp
  2. 2 0
      examples/Demo/src/example.cpp

+ 1 - 1
examples/Demo/src/Counter.cpp

@@ -32,7 +32,7 @@ public:
 
 
     spTween add()
     spTween add()
     {
     {
-        OX_ASSERT(!_running;
+        OX_ASSERT(!_running);
 
 
         _running = true;
         _running = true;
         int next = (_current + 1) % 10;
         int next = (_current + 1) % 10;

+ 2 - 0
examples/Demo/src/example.cpp

@@ -67,6 +67,8 @@ public:
         addButton("texture_format", "Textures Format");
         addButton("texture_format", "Textures Format");
         addButton("r2t", "Render to Texture");
         addButton("r2t", "Render to Texture");
         addButton("t2p", "Texel to Pixel");
         addButton("t2p", "Texel to Pixel");
+        addButton("edges", "Edges");
+
         addButton("touches", "Touches");
         addButton("touches", "Touches");
         addButton("sliding", "Sliding Actor");
         addButton("sliding", "Sliding Actor");
         addButton("box9sprite", "Box9 Sprite");
         addButton("box9sprite", "Box9 Sprite");