3D Game Engine Not Working

There is a 3D Game Engine Tutorial on Youtube by Thebennybox. (Edited: Thanks to Drenius for the correct name of the Youtuber)

engine download links here :

When I downloaded the engine and tried to run it on eclipse I got this error


Exception in thread "main" java.lang.IllegalStateException: Function is not supported
    at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
    at org.lwjgl.opengl.GL20.glCreateProgram(GL20.java:255)
    at com.base.engine.rendering.resourceManagement.ShaderResource.<init>(ShaderResource.java:19)
    at com.base.engine.rendering.Shader.<init>(Shader.java:42)
    at com.base.engine.rendering.RenderingEngine.<init>(RenderingEngine.java:36)
    at com.base.engine.core.CoreEngine.createWindow(CoreEngine.java:29)
    at com.base.game.Main.main(Main.java:10)

I checked everywhere and I cant find a single answer. I tried to contact the Youtuber but he has not replied.

I need help ASAP, please.

It’s Thebennybox :wink:

Looks like your system does not support a function, maybe you have an old graphics card?
Just a quick guess…

Looks like your OpenGL version is lower than 2.0, which is necessary for using Shaders. Perhaps, you could try updating your graphics card drivers – assuming you have a gpu that is.

If you’re on a mac you can ONLY use openGL 2- functions.
However, if you enable core mode “.withProfileCore(true)” and disable compatibility mode “.withProfileCompatibility(false)” in the context attributes when you create the display, you can use OpenGL 3+ functions. Doing this, you cannot use any gl functions under version 3.

The problem is… most people, when writing their opengl applications, use a mix of 2 and 3 for openGL. While this works perfectly fine on windows, it will not on a mac.