From dbf1544dc6dd7e31ad884afaffb192944f8bb22f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Jul 2014 22:00:53 +0300 Subject: In atlasmanager use copy surface to image function. This allow in OpenGL modes copy surface into video memory without software blitting. --- src/resources/textureatlas.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/resources/textureatlas.h') 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 items; -- cgit v1.2.3-70-g09d2