Another reference
https://www.khronos.org/opengl/wiki/Programming_OpenGL_on_macOS

you can try edit the file shader.ijs in addons/demos/qtdemo around line 11
from 
minwh 300 300;cc g opengl flush;
to
minwh 300 300;cc g opengl version 4.1 flush;

the version of GLSL is different from the version of OpenGL

> On 24 Jan 2022, at 10:22 AM, Raul Miller <[email protected]> wrote:
> 
> On Sun, Jan 23, 2022 at 9:14 PM Elijah Stone <[email protected]> wrote:
>> On Sun, 23 Jan 2022, Raul Miller wrote:
>>> But that demo does not work on my OSX (Mojave) machine (which has OpenGL
>>> 1.2). For whatever reasons (possibly including availability of good
>>> documentation), Apple has been slow to adopt newer versions of OpenGL
>> 
>> Huh ... AFAIK apple stopped at opengl 4.2 or 4.3 or so which, while not
>> great (I want dsa), is certainly passable; opengl 3.3 is a pretty decent
>> baseline, and I think opengl 2 has a programmable pipeline already.
> 
> When I run the shader demo, I get:
> 
> GL_VERSION: 2.1 ATI-2.11.20
> GL_VENDOR: ATI Technologies Inc.
> GL_RENDERER: AMD Radeon Pro 560 OpenGL Engine
> GL_SHADING_LANGUAGE_VERSION: 1.20
> #version 120
> 
> I was referring to the value of GL_SHADING_LANGUAGE_VERSION.
> 
> (This is with a current set of addons.)
> 
> I do not know how that relates to the 4.1 mentioned in
> https://support.apple.com/en-us/HT202823
> 
> FYI,
> 
> -- 
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to