Closed prisonerjohn closed 6 years ago
This works for some reason
bool guiStarted = false;
void ofApp::draw(){
if(ofGetFrameNum() == 1)
{
gui.setup();
guiStarted = true;
}
if(guiStarted) {
gui.begin();....
That's odd... I thought maybe gui.setup()
has to get called after loading a video but that's what's already happening in setup()
.
If I run an app that has both
ofxOMXPlayer
andofxImGui
in it, it looks like the video player texture gets taken over by the imgui texture, because I just see a bunch of glyphs on screen.I have a test app ready here if you want to test (you can just put that in "myApps"): https://drive.google.com/open?id=1ocJtu0n5T0R54GxsUHwfktbabQXKclTH
Any idea what could be happening? I think it's probably a texture reference getting overwritten, but not sure where that would be exactly.