瀏覽代碼

Update rlgl.h

pull/4428/head
Ray 5 月之前
父節點
當前提交
5065b85d33
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rlgl.h

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

@ -4342,7 +4342,7 @@ void rlSetUniformMatrices(int locIndex, const Matrix *matrices, int count)
#elif defined(GRAPHICS_API_OPENGL_ES2)
// WARNING: WebGL does not support Matrix transpose ("true" parameter)
// REF: https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix
glUniformMatrix4fv(locIndex, count, true, (const float *)matrices);
glUniformMatrix4fv(locIndex, count, false, (const float *)matrices);
#endif
}

Loading…
取消
儲存