瀏覽代碼

Corrected typo

pull/676/head
Ray 6 年之前
父節點
當前提交
1f4866276a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/rlgl.h

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

@ -1510,7 +1510,7 @@ void rlDeleteRenderTextures(RenderTexture2D target)
if (target.depth.id > 0)
{
#if defined(GRAPHICS_API_OPENGL_ES2)
glDeleteRenderBuffers(1, &target.depth.id);
glDeleteRenderbuffers(1, &target.depth.id);
#elif defined(GRAPHICS_API_OPENGL_33)
glDeleteTextures(1, &target.depth.id);
#endif
@ -2263,7 +2263,7 @@ RenderTexture2D rlLoadRenderTexture(int width, int height)
if (target.depth.id > 0)
{
#if defined(GRAPHICS_API_OPENGL_ES2)
glDeleteRenderBuffers(1, &target.depth.id);
glDeleteRenderbuffers(1, &target.depth.id);
#elif defined(GRAPHICS_API_OPENGL_33)
glDeleteTextures(1, &target.depth.id);
#endif

Loading…
取消
儲存