fix: Build when multisampling isn't available

This commit is contained in:
WerWolv
2024-05-20 10:18:03 +02:00
parent a172e89620
commit 666dc7dccb

View File

@@ -69,7 +69,7 @@ namespace ImGuiExt {
return GL_NEAREST;
}
GLint getMaxSamples(GLenum target, GLenum format) {
[[maybe_unused]] GLint getMaxSamples(GLenum target, GLenum format) {
GLint maxSamples;
glGetInternalformativ(target, format, GL_SAMPLES, 1, &maxSamples);