fix: Disable texture multisampling for now as it causes issues on certain platforms
This commit is contained in:
parent
4eba620bee
commit
57857559f5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user