summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2022-06-21 19:53:28 +0200
committerRay <[email protected]>2022-06-21 19:53:28 +0200
commit68c7cc0cc44c93e82cd45b17a5d6e1aa7f23aa54 (patch)
tree9f0d19a17c3043d4b4131f189c07ba09b4420157 /src
parentc1b01c0d5d2f2bb5108df910b2376d45314e7335 (diff)
downloadraylib-68c7cc0cc44c93e82cd45b17a5d6e1aa7f23aa54.tar.gz
raylib-68c7cc0cc44c93e82cd45b17a5d6e1aa7f23aa54.zip
minor tweak
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index ce784117..d1ff5c8c 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -3118,8 +3118,8 @@ void rlGenTextureMipmaps(unsigned int id, int width, int height, int format, int
//glHint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE); // Hint for mipmaps generation algorithm: GL_FASTEST, GL_NICEST, GL_DONT_CARE
glGenerateMipmap(GL_TEXTURE_2D); // Generate mipmaps automatically
- #define MIN(a,b) (((a)<(b))?(a):(b))
- #define MAX(a,b) (((a)>(b))?(a):(b))
+ #define MIN(a,b) (((a)<(b))? (a):(b))
+ #define MAX(a,b) (((a)>(b))? (a):(b))
*mipmaps = 1 + (int)floor(log(MAX(width, height))/log(2));
TRACELOG(RL_LOG_INFO, "TEXTURE: [ID %i] Mipmaps generated automatically, total: %i", id, *mipmaps);