瀏覽代碼

Small tweak

pull/23/head
Gatonevermind 9 年之前
父節點
當前提交
c7ae28aaa2
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      src/rlgl.c

+ 4
- 1
src/rlgl.c 查看文件

@ -1618,7 +1618,10 @@ unsigned int rlglLoadTexture(void *data, int width, int height, int textureForma
glGenTextures(1, &id); // Generate Pointer to the texture
//glActiveTexture(GL_TEXTURE0);
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
//glActiveTexture(GL_TEXTURE0); // If not defined, using GL_TEXTURE0 by default (shader texture)
#endif
glBindTexture(GL_TEXTURE_2D, id);
#if defined(GRAPHICS_API_OPENGL_33)

Loading…
取消
儲存