Skip to content

Commit

Permalink
Update texture_gl.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wkjarosz committed Nov 12, 2024
1 parent 8d84801 commit d26f0c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/texture_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
#define GL_DEPTH_COMPONENT32F 0x8CAC
#endif

#if !defined(GL_TEXTURE_2D_MULTISAMPLE)
#define GL_TEXTURE_2D_MULTISAMPLE GL_TEXTURE_2D
#endif

static void gl_map_texture_format(Texture::PixelFormat &pixel_format, Texture::ComponentFormat &component_format,
GLenum &pixel_format_gl, GLenum &component_format_gl, GLenum &internal_format_gl);

Expand Down

0 comments on commit d26f0c9

Please sign in to comment.