minor changes and added namespace to avoid conflicts when integrating with PanoPainter

This commit is contained in:
2017-03-15 08:17:22 +00:00
parent ee6d352fc6
commit c34d1a1f44
16 changed files with 112 additions and 39 deletions

View File

@@ -4,9 +4,11 @@
#include <stb/stb_image.h>
using namespace ui;
bool Image::load(std::string filename)
{
//stbi_set_flip_vertically_on_load(true);
stbi_set_flip_vertically_on_load(false);
Asset file;
if (!(file.open(filename.c_str()) && file.read_all()))
{