diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-01 22:00:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-01 22:00:53 +0300 |
commit | dbf1544dc6dd7e31ad884afaffb192944f8bb22f (patch) | |
tree | 9e6d4e4e857577ffc562152bdb70bcd224f7a3a5 /src/resources/textureatlas.h | |
parent | 62e2ccbb158f146e2c3ceab14ff5581d3f3975ef (diff) | |
download | manaverse-dbf1544dc6dd7e31ad884afaffb192944f8bb22f.tar.gz manaverse-dbf1544dc6dd7e31ad884afaffb192944f8bb22f.tar.bz2 manaverse-dbf1544dc6dd7e31ad884afaffb192944f8bb22f.tar.xz manaverse-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.h | 2 |
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; |