STR #3535

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features ]

STR #3535

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Summary:OpenGL context gets confused on Mac
Created By:vigmond
Assigned To:AlbrechtS
Fix Version:None
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 vigmond
07:45 May 19, 2020
I have a subclassed FL_GL_Window into which I draw, and things works well until I open another FL_GL_Window. The context of the second window is NULL, as returned by context(). The viewport of the first window becomes that of the second window (that is, a small rectangle in the lower left corner which is the size of the second window). 

It runs without this issue on Linux. I am using FL_OPENGL3 since I am need shaders.

The software is available should you feel inclined:

#2 vigmond
12:28 May 19, 2020
Please ignore this. I found thew issue. I forgot to declare all windows FL_OPENGL3. It works fine.  
#3 AlbrechtS
14:08 May 24, 2020
Closed on OP's request.  
bottom left image   bottom right image

Return to Bugs & Features ]


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