I’m developing a plugin for some 3rd party application.
The render callback in plugin is called where I have access to an active OpenGL context.
The program works in OpenGL compatibility mode and on macOS I have some weird issues.
The currently bound texture is the current image frame the host application and I need it for the further processing.
The problem is that on macOS it looks like this:
On the left is the original image in the host application and on the right it’s my plugin rendering a quad with the currently bound texture.
Any ideas why it looks like this? Does it suggest something I might be missing? It kind of looks like the color values are clipped multiple times.
Everything works OK on windows.
In the screenshot you can see the fetched texture details (size and the internal format, which is RGBA8).