Open habdankm opened 2 years ago
Changing: desktop/src/mysko/pilzhere/fox3d/desktop/DesktopLauncher.java 36 config.useOpenGL3(true, 3, 3); // 3.3 Works on MacOSX to 36 config.useOpenGL3(false, 3, 2); // Note however that Mac OS X does only support 3.2 solve issue, but it's not best solution. trying: 36 config.useOpenGL3(true, 3, 2); give same error
maybe you are willing to accept solution like this:
if (System.getProperty("os.name").contains("Mac")) { config.useOpenGL3(false, 3, 2); } else { config.useOpenGL3(true, 3, 3); }
than I can make small PR.
Hi Christian,
In current version of a game on macOS Catalina 10.15.7 (19H1715), NVIDIA GeForce GT 650M 1 GB, I'm not able to run game. It crash with this exception: `Exception in thread "main" java.lang.IllegalArgumentException: Error compiling shader: Vertex shader ERROR: 0:1: '' : #version required and missing. ERROR: 0:1: 'attribute' : syntax error: syntax error Fragment shader: ERROR: 0:1: '' : #version required and missing. ERROR: 0:7: 'varying' : syntax error: syntax error