I appreciate that ClearWin passes the API calls for OpenGL through to the OS.
In this instance it is issuing an error popup when I attempt to redraw an OpenGL window. The error is 'ClearWin+ error' and 'No OpenGL buffers are open'.
I'd like to know what causes this popup, specifically;
- Which OpenGL calls can cause it to occur (it seems to be the ClearWin swap_opengl_buffers call that fails).
- Is it before or after a call to the OpenGL layer (for example, is it validating before the call or showing as a result of a return code)?
Would it be possible to view the source code that generates this dialogue? I think it might help me a lot. If not, I'll have to get the disassembler out and go digging into the guts of ClearWin64.dll.
This is for 64 bit gFortran, consuming ClearWin DLLs. I have a small proof of concept working, it is only in my main application that the OpenGL handles / context are somehow not being swapped in.
Thank you in advance,
Ryan