Skip to content

Commit

Permalink
Debug OpenGL Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Jul 15, 2022
1 parent 9ee8b44 commit 16abebc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ bool ERS_CLASS_DepthMaps::RegenerateDepthMapTextureArrayCubemap(int NumberOfText

glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY,
0, // Current 'mipmap level', We're not using these so 0 is fine
GL_DEPTH_COMPONENT24, // Storage Format, Using Depth Format Here As We're Setting Up A Depth Map
GL_DEPTH_COMPONENT, // Storage Format, Using Depth Format Here As We're Setting Up A Depth Map
DepthTextureArrayWidth_, // Cubemap Width
DepthTextureArrayHeight_, // Cubemap Height
NumberOfTextures * 6, // Total Number Of Textures In The Array
Expand Down

0 comments on commit 16abebc

Please sign in to comment.