Browse Source

Added note

raysan5 5 years ago
parent
commit
446f9fff00
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/rlgl.h

+ 1 - 0
src/rlgl.h

@@ -3591,6 +3591,7 @@ TextureCubemap GenTexturePrefilter(Shader shader, TextureCubemap cubemap, int si
 
 
     // Generate mipmaps for the prefiltered HDR texture
     // Generate mipmaps for the prefiltered HDR texture
     glGenerateMipmap(GL_TEXTURE_CUBE_MAP);
     glGenerateMipmap(GL_TEXTURE_CUBE_MAP);
+    //rlGenerateMipmaps(Texture2D *texture); // Only GL_TEXTURE_2D
 
 
     // STEP 2: Draw to framebuffer
     // STEP 2: Draw to framebuffer
     //------------------------------------------------------------------------------------------
     //------------------------------------------------------------------------------------------