fix: Web version not starting due to unsupported texture multisampling
This commit is contained in:
parent
964a2e990e
commit
4eba620bee
@ -68,6 +68,11 @@ namespace ImGuiExt {
|
||||
if (filter == Texture::Filter::Nearest)
|
||||
return texture;
|
||||
|
||||
// WebGL doesn't support multisampling
|
||||
#if defined(OS_WEB)
|
||||
return texture;
|
||||
#endif
|
||||
|
||||
constexpr static auto SampleCount = 8;
|
||||
|
||||
// Generate renderbuffer
|
||||
|
Loading…
x
Reference in New Issue
Block a user