Browse Source

Fix compilation of sprite sample.

legacy
Sam Hocevar 7 years ago
parent
commit
845d3878ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/tutorial/06_sprite.cpp

+ 1
- 1
doc/tutorial/06_sprite.cpp View File

@@ -81,7 +81,7 @@ public:
int frame = (int)(m_sprites[i].m2 * FRAME_COUNT);
// m_sprites[i].m1.z = frame;
scene.AddTile(m_tileset, frame,
m_sprites[i].m1, 0, vec2(2.f), 0.f);
m_sprites[i].m1, vec2(2.f), 0.f);
}
}



Loading…
Cancel
Save