minor changes and added namespace to avoid conflicts when integrating with PanoPainter
This commit is contained in:
@@ -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()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user