summaryrefslogtreecommitdiff
path: root/texture.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-10-02 01:52:19 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-10-02 01:52:19 +0200
commitbf4827f46f22b4df0fa2ddd6716fd59247f9e1bb (patch)
treee00560c4533c1907e9901ab95112c5bd790de743 /texture.cpp
parent35094294df2e1b5fdb6fd63abd9f7c195b25c6da (diff)
Ported from SDL to SFML.
Diffstat (limited to 'texture.cpp')
-rw-r--r--texture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/texture.cpp b/texture.cpp
index c8c5541..52ed861 100644
--- a/texture.cpp
+++ b/texture.cpp
@@ -1,7 +1,6 @@
-#include <SDL/SDL_opengl.h>
+#include <SFML/Window/OpenGL.hpp>
#include <stdexcept>
#include "texture.h"
-#include <stdio.h>
void Texture::bind() const {
glBindTexture(GL_TEXTURE_2D, texture);