Let's try reexporting that texture again
This commit is contained in:
parent
a2e68da071
commit
2b11af11b3
2 changed files with 1 additions and 1 deletions
BIN
assets/12x12.bmp
BIN
assets/12x12.bmp
Binary file not shown.
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 108 KiB |
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue