瀏覽代碼

Review bug on OpenGL 1.1

pull/1621/head
Ray 4 年之前
父節點
當前提交
58e4efbba8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rlgl.h

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

@ -2429,7 +2429,7 @@ void rlGenerateMipmaps(Texture2D *texture)
// NOTE: Texture data size is reallocated to fit mipmaps data
// NOTE: CPU mipmap generation only supports RGBA 32bit data
int mipmapCount = GenerateMipmaps(data, texture->width, texture->height);
int mipmapCount = GenerateMipmaps(texData, texture->width, texture->height);
int size = texture->width*texture->height*4;
int offset = size;

Loading…
取消
儲存