FLTK logo

[fltk.coredev] macOS fltk OpenGL implementation does not support v410

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

macOS fltk OpenGL implementation does not support v410 Gonzalo Garramuno Aug 15, 2022  
 
Currently, trying to compile a v410 shader ( which is valid macOS OpenGL on my machine and works with glfw and qt ), results in the following output:

ERROR: 0: #version 410
1: 
2: in vec3 vPos;
3: in vec2 vTexture;
4: out vec2 fTexture;
5: 
6: struct Transform
7: {
8:     mat4 mvp;
9: };
10: 
11: uniform Transform transform;
12: 
13: void main()
14: {
15:     gl_Position = transform.mvp * vec4(vPos, 1.0);
16:     fTexture = vTexture;
17: }
ERROR: 0:1: '' :  version '410' is not supported

The code, as mentioned works on glfw and qt on macOS as on fltk on linux.

Printing:

glString( GL_VERSION )

Returns for macOS fltk:
2.1 ATI-4.8.101

While on macOS glfw, it returns:
4.1 ATI-4.8.101

Any ideas what might be selecting the lowest OpenGL standard?


—
Gonzalo Garramuno
ggarra13@gmail.com

-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/24E1018D-74FA-4057-BE0E-25341BEB41C7%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.