mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 03:08:24 +00:00
Remove unused condition in 'GenerateMipmaps' function for GRAPHICS_API_OPENGL_11 (#1496)
This commit is contained in:
@@ -4791,8 +4791,8 @@ static int GenerateMipmaps(unsigned char *data, int baseWidth, int baseHeight)
|
|||||||
// Count mipmap levels required
|
// Count mipmap levels required
|
||||||
while ((width != 1) && (height != 1))
|
while ((width != 1) && (height != 1))
|
||||||
{
|
{
|
||||||
if (width != 1) width /= 2;
|
width /= 2;
|
||||||
if (height != 1) height /= 2;
|
height /= 2;
|
||||||
|
|
||||||
TRACELOGD("TEXTURE: Next mipmap size: %i x %i", width, height);
|
TRACELOGD("TEXTURE: Next mipmap size: %i x %i", width, height);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user