|
@@ -91,6 +91,7 @@ Theme* Theme::create(const char* url)
|
|
|
const char* textureFile = themeProperties->getString("texture");
|
|
const char* textureFile = themeProperties->getString("texture");
|
|
|
theme->_texture = Texture::create(textureFile, false);
|
|
theme->_texture = Texture::create(textureFile, false);
|
|
|
GP_ASSERT(theme->_texture);
|
|
GP_ASSERT(theme->_texture);
|
|
|
|
|
+ theme->_texture->setFilterMode(Texture::NEAREST, Texture::NEAREST);
|
|
|
theme->_spriteBatch = SpriteBatch::create(theme->_texture);
|
|
theme->_spriteBatch = SpriteBatch::create(theme->_texture);
|
|
|
GP_ASSERT(theme->_spriteBatch);
|
|
GP_ASSERT(theme->_spriteBatch);
|
|
|
|
|
|