Skip to content

Commit

Permalink
Why tf did this work
Browse files Browse the repository at this point in the history
  • Loading branch information
grorp committed Nov 5, 2024
1 parent eda2a9e commit ad9d578
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions irr/src/COpenGLCoreTexture.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ class COpenGLCoreTexture : public ITexture
break;
case ETT_2D_MS:
GL.TexImage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, MSAA, InternalFormat, Size.Width, Size.Height, GL_TRUE);
break;
case ETT_CUBEMAP:
GL.TexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, InternalFormat, Size.Width, Size.Height, 0, PixelFormat, PixelType, 0);
GL.TexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, InternalFormat, Size.Width, Size.Height, 0, PixelFormat, PixelType, 0);
Expand Down

0 comments on commit ad9d578

Please sign in to comment.