Skip to content

Commit

Permalink
[Misc] Fixed compile errors with Clang and GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBanana committed Dec 29, 2024
1 parent 2e893cf commit 4f39f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/Renderer/OpenGL/RenderState/GLResourceHeap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct GLTexBuffer
static constexpr GLenum k_maxGLInternalFormatValue = ((1u << k_heapSegmentInternalFormatBits) - 1);

#define LLGL_ASSERT_GLINTERNALFORMAT_VALUE(VALUE) \
static_assert((VALUE) <= k_maxGLInternalFormatValue, "Value of " ## #VALUE ## " is exceeding bitsize for internal format in GLResourceHeap segments")
static_assert((VALUE) <= k_maxGLInternalFormatValue, "Value of " #VALUE " is exceeding bitsize for internal format in GLResourceHeap segments")

LLGL_ASSERT_GLINTERNALFORMAT_VALUE(GL_R32F);
LLGL_ASSERT_GLINTERNALFORMAT_VALUE(GL_R32I);
Expand Down

0 comments on commit 4f39f22

Please sign in to comment.