summaryrefslogtreecommitdiff
path: root/engine/stage.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-10-05 07:00:49 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-10-05 07:00:49 +0200
commita24cc110acebb3fc1b40a38d08f737bf09b15e54 (patch)
tree7859d031542270700da3b59d7b9f6927ec8b8076 /engine/stage.cpp
parent5572a8133963447bc60098d952cebfe3902dad27 (diff)
Moved from TextureSTBI to Texture.
Diffstat (limited to 'engine/stage.cpp')
-rw-r--r--engine/stage.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/stage.cpp b/engine/stage.cpp
index 9a5bedd..0eb7cb9 100644
--- a/engine/stage.cpp
+++ b/engine/stage.cpp
@@ -2,8 +2,6 @@
#include "config.h"
-#include <wriggle/texturestbi.h>
-
#include <wriggle/gl.h>
#include <cmath>
@@ -12,7 +10,7 @@ Stage::Stage() {
player = new Player();
- texture = new TextureSTBI("textures/shot1.png");
+ texture = new Texture("textures/shot1.png");
shader = new GLShaderProgram();
enemy_list.push_back(new Enemy1(Vector2(0.25, 0.75), patterns));