mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Web version not starting anymore due to WebGL only supporting OpenGL 3.0
This commit is contained in:
@@ -79,10 +79,12 @@ namespace hex::init {
|
||||
}
|
||||
|
||||
{
|
||||
#if !defined(OS_MACOS)
|
||||
const static auto MinGLVersion = SemanticVersion(3, 1, 0);
|
||||
#else
|
||||
#if defined(OS_MACOS)
|
||||
const static auto MinGLVersion = SemanticVersion(3, 2, 0);
|
||||
#elif defined(OS_WEB)
|
||||
const static auto MinGLVersion = SemanticVersion(3, 0, 0);
|
||||
#else
|
||||
const static auto MinGLVersion = SemanticVersion(3, 1, 0);
|
||||
#endif
|
||||
|
||||
const auto &glVersion = ImHexApi::System::getGLVersion();
|
||||
|
||||
Reference in New Issue
Block a user