Let's try reexporting that texture again

This commit is contained in:
Adrian Hedqvist 2017-09-18 18:06:33 +02:00
parent a2e68da071
commit 2b11af11b3
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View file

@ -242,7 +242,7 @@ Texture * Renderer::LoadTexture(std::string path) {
SDL_LogVerbose(SDL_LOG_CATEGORY_RENDER, "Loading texture: %s\n", path.c_str());
// Texture not loaded, let's load it.
SDL_Surface* surface = SDL_LoadBMP(path.c_str());
SDL_Log("Loaded surface.");
SDL_LogVerbose(SDL_LOG_CATEGORY_RENDER, "Loaded surface.");
if (surface != NULL) {
GLuint textureId;
glGenTextures(1, &textureId);