summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2022-04-24 00:29:15 +0200
committerRay <[email protected]>2022-04-24 00:29:15 +0200
commitff95f05386e6836701ba83d77e3e075b853630dc (patch)
tree10ed5a440d7e0917dba61ea0c1c05d84374a3056 /src
parent47d768c3d653ae15fe006e9ec2f9515e8e416ce6 (diff)
downloadraylib-ff95f05386e6836701ba83d77e3e075b853630dc.tar.gz
raylib-ff95f05386e6836701ba83d77e3e075b853630dc.zip
Update rlgl.h
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 8513998c..7acfe5cb 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -1537,7 +1537,7 @@ void rlTextureParameters(unsigned int id, int param, int value)
if (value <= RLGL.ExtSupported.maxAnisotropyLevel) glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, (float)value);
else if (RLGL.ExtSupported.maxAnisotropyLevel > 0.0f)
{
- TRACELOG(RL_LOG_WARNING, "GL: Maximum anisotropic filter level supported is %iX", id, RLGL.ExtSupported.maxAnisotropyLevel);
+ TRACELOG(RL_LOG_WARNING, "GL: Maximum anisotropic filter level supported is %iX", id, (int)RLGL.ExtSupported.maxAnisotropyLevel);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, (float)value);
}
else TRACELOG(RL_LOG_WARNING, "GL: Anisotropic filtering not supported");