cgal icon indicating copy to clipboard operation
cgal copied to clipboard

Graphics View: OpenGL format handling problems

Open maxGimeno opened this issue 5 years ago • 2 comments

Issue Details

When the first attempt to generate a 4.3 GL context fails, the qglviewer should create a 2.1 GLES context, but it is not used then. The first created context is still used instead, which makes the option '--old' useless and keeps osx users from drawing edges and points with shaders that manage edge/point size.

maxGimeno avatar Jan 07 '21 07:01 maxGimeno

@maxGimeno What do you plan to do to address this issue?

lrineau avatar Jan 14 '21 09:01 lrineau

I have to experiment to find a way to change an ongoing context at runtime. One of my ideas was to use a setting file to store the right context and display an error mesasge when the creation failed, asking to restart the application.

maxGimeno avatar Jan 14 '21 09:01 maxGimeno