AcademySoftwareFoundation / openfx

OpenFX effects API
Other
410 stars 120 forks source link

OFX::OverlayInteract::draw will not be called #84

Open ramin-raeisi opened 3 years ago

ramin-raeisi commented 3 years ago

Problem

Having an OverlayInteract instance in a plugin, overridden OFX::OverlayInteract::draw method will not be called after loading a saved project in Davinci Resolve, while it will be called in a newly created project

I had the issue with my own developed plugin, but as a reference I decided to check the provided basic sample in the C++ Support folder and it was the same behavior there.

Support/Plugins/Basic

revisionfx commented 3 years ago

On lower left side of display there is a menu with option to display Overlays - this has to be turned on Resolve

ramin-raeisi commented 3 years ago

Thank you @revisionfx for your response, that issue got resolved and now draw method is being called but there is an access violation on a line of glTexImage2D call in loading mode(after loading a saved project and enabling the OpenFX Overlays), but it works properly without any access violation during a new project.

I debugged a lot and now I just can think of wrong OpenGL context?

I wonder if you might have any idea?