mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Web version not starting due to unsupported texture multisampling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user