mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Build when multisampling isn't available
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user