LWJGL Forum

Programming => OpenGL => Topic started by: nbilyk on November 13, 2018, 20:59:20

Title: Lwjgl and Mac Mojave
Post by: nbilyk on November 13, 2018, 20:59:20
I'm using Lwjgl, and after updating to Mojave, it seems that the glsl is no longer working with #version 100.

In my logs I get "Supported GLSL language version: 1.20"
It's a new laptop, it worked before Mojave, and the same shaders compile in webgl, so I'm wondering if anybody else has hit this, and if it might be part of their deprecation of opengl?

-Nick
Title: Re: Lwjgl and Mac Mojave
Post by: KaiHH on November 13, 2018, 21:03:57
There has never been an actual GLSL #version 100 in OpenGL for Desktop. What you are referring to with WebGL is GLSL for OpenGL for Embedded Systems (OpenGL ES) which WebGL derives off of, which uses #version 100 for OpenGL ES 2.0. The first GLSL version in OpenGL for Desktop was introduced as #version 110 with OpenGL 2.0.
Title: Re: Lwjgl and Mac Mojave
Post by: nbilyk on November 13, 2018, 22:52:17
Ah thank you!  Is there a way to do one version for opengles and one version for desktop?  (That part I can figure out on my own now that I have the right direction)