1
0
mirror of synced 2025-01-18 09:04:52 +01:00

fix: Disable texture multisampling for now as it causes issues on certain platforms

This commit is contained in:
WerWolv 2024-05-03 14:02:43 +02:00
parent 4eba620bee
commit 57857559f5

View File

@ -68,11 +68,7 @@ namespace ImGuiExt {
if (filter == Texture::Filter::Nearest)
return texture;
// WebGL doesn't support multisampling
#if defined(OS_WEB)
return texture;
#endif
#if 0
constexpr static auto SampleCount = 8;
// Generate renderbuffer
@ -99,6 +95,7 @@ namespace ImGuiExt {
// Unbind framebuffer
glBindFramebuffer(GL_FRAMEBUFFER, 0);
#endif
return texture;
}