So I’ve been experimenting with LWJGL and I have finally got a bit of an understanding of that basics, and then bam! I get this error:
Unable to create vertex shdaer:
ERROR: 0:1: '' : version '330' is not supported
Exception in thread "main" java.lang.IllegalStateException: Function is not supported
at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
at org.lwjgl.opengl.GL30.glBindVertexArray(GL30.java:1512)
at com.pickens.game.Game.dispose(Game.java:136)
at com.pickens.game.Game.end(Game.java:216)
at com.pickens.util.ShaderProgram.attachVertexShader(ShaderProgram.java:43)
at com.pickens.game.Game.init(Game.java:52)
at com.pickens.game.Game.gameLoop(Game.java:89)
at com.pickens.game.Game.<init>(Game.java:42)
at com.pickens.game.Game.main(Game.java:222)
Ecumene said it meant that my Mac didn’t have a good enough graphics card to run my program. Does that mean I need to get a new computer? Because my Mac is only a year old so you would figure it could handle everything you throw at it right? I even updated to the most recent version and still I get this error.
So is the problem my code? Or the computer?
(BTW I was following SHC’s LWJGL tutorial)