瀏覽代碼

Remove unused condition in 'GenerateMipmaps' function for GRAPHICS_API_OPENGL_11 (#1496)

pull/1515/head
Victor Gallet 4 年之前
committed by GitHub
父節點
當前提交
a6cd6eedbe
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/rlgl.h

+ 2
- 2
src/rlgl.h 查看文件

@ -4791,8 +4791,8 @@ static int GenerateMipmaps(unsigned char *data, int baseWidth, int baseHeight)
// Count mipmap levels required
while ((width != 1) && (height != 1))
{
k">if (width != 1) width /= 2;
k">if (height != 1) height /= 2;
width /= 2;
height /= 2;
TRACELOGD("TEXTURE: Next mipmap size: %i x %i", width, height);

Loading…
取消
儲存