summaryrefslogtreecommitdiff
path: root/src/resources/textureatlas.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-01 22:00:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-01 22:00:53 +0300
commitdbf1544dc6dd7e31ad884afaffb192944f8bb22f (patch)
tree9e6d4e4e857577ffc562152bdb70bcd224f7a3a5 /src/resources/textureatlas.h
parent62e2ccbb158f146e2c3ceab14ff5581d3f3975ef (diff)
downloadmv-dbf1544dc6dd7e31ad884afaffb192944f8bb22f.tar.gz
mv-dbf1544dc6dd7e31ad884afaffb192944f8bb22f.tar.bz2
mv-dbf1544dc6dd7e31ad884afaffb192944f8bb22f.tar.xz
mv-dbf1544dc6dd7e31ad884afaffb192944f8bb22f.zip
In atlasmanager use copy surface to image function.
This allow in OpenGL modes copy surface into video memory without software blitting.
Diffstat (limited to 'src/resources/textureatlas.h')
-rw-r--r--src/resources/textureatlas.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resources/textureatlas.h b/src/resources/textureatlas.h
index 11a45a5d3..be3d8abd8 100644
--- a/src/resources/textureatlas.h
+++ b/src/resources/textureatlas.h
@@ -42,7 +42,6 @@ struct TextureAtlas final
TextureAtlas() :
name(),
atlasImage(nullptr),
- surface(nullptr),
width(0),
height(0),
items()
@@ -53,7 +52,6 @@ struct TextureAtlas final
std::string name;
Image *atlasImage;
- SDL_Surface *surface;
int width;
int height;
std::vector <AtlasItem*> items;