diff options
| author | Ray <[email protected]> | 2017-04-24 00:18:53 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-04-24 00:18:53 +0200 |
| commit | 71fe3c0b086c9cf7707d9ef455c57360f88be8a1 (patch) | |
| tree | 1d1b7dfc780fd6049f68b5d69d9194add1302dfd /src/textures.c | |
| parent | 0ed82150f0228c949c36f9ee83d4c2e0c92f9d0e (diff) | |
| parent | 9a515ae9db9f63d5bfa8545cfbbfdce683daf5f6 (diff) | |
| download | raylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.tar.gz raylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.zip | |
Merge pull request #269 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/textures.c b/src/textures.c index 9fd5944e..6c56d6c5 100644 --- a/src/textures.c +++ b/src/textures.c @@ -65,7 +65,7 @@ // Required for: rlglLoadTexture() rlDeleteTextures(), // rlglGenerateMipmaps(), some funcs for DrawTexturePro() -#include "utils.h" // Required for: fopen() Android mapping, TraceLog() +#include "utils.h" // Required for: fopen() Android mapping // Support only desired texture formats on stb_image #if !defined(SUPPORT_FILEFORMAT_BMP) @@ -379,6 +379,8 @@ Texture2D LoadTextureFromImage(Image image) texture.height = image.height; texture.mipmaps = image.mipmaps; texture.format = image.format; + + TraceLog(INFO, "[TEX %i] Parameters: %ix%i, %i mips, format %i", texture.id, texture.width, texture.height, texture.mipmaps, texture.format); return texture; } |
