Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SOME devices can not run Unciv because software OpenGL mode is not allowed.
Put this code
System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");
The problem will be solved. This will allow libgdx to run as software openGL mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm asking which devices. Is this a software problem, certain OS's? A hardware one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a hardware problem.Libgdx requires at least OpenGL 1.5 on the desktop.But SOME people don't know how to update the OpenGL.So I suggest putting the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1st generations Intel HD Graphics running under Windows 10 with Java 8u60 and newer. LWJGL/lwjgl#119
Downgrading java to 8u51 solved problem for few people in discord.
This exception also can be caused by outdated or incompatible driver.
There was 1 person in discord with this problem recently. He had intel B960 and windows updated drivers to 9.17.10.4459 (Windows 10 does not have official GPU support for Sandy Bridge); downgrading drivers to 4229 - latest compatible with his intel GPU - solved the problem