From c91de71d69265a0d619b25d0c04ae1adb0785f33 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 13 Jun 2010 18:47:00 +0200 Subject: Using wriggle. --- texturesdl.cpp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 texturesdl.cpp (limited to 'texturesdl.cpp') diff --git a/texturesdl.cpp b/texturesdl.cpp deleted file mode 100755 index 8e112ef..0000000 --- a/texturesdl.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "texturesdl.h" - -TextureSDL::TextureSDL(const char* filename) { - SDL_Surface* image = IMG_Load(filename); - - width = image->w; - height = image->h; - byte_per_pixel = image->format->BytesPerPixel; - data = (unsigned char*)image->pixels; - - build(); - - SDL_FreeSurface(image); -} -- cgit v1.2.3