ofxHapPlayer
ofxHapPlayer copied to clipboard
HapPlayer works fine in the ofApp.cpp but not in other class
I'm working to display several videos overlay each other. I draw the background and the front mask in ofApp.cpp and they goes smooth. Between them, I draw some videos which is called by another class, they are correctly drawn between the background and the mask. However, those video are just black boxes but not an video with alpha. It worked before I try to apply an shader which I added ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE); into main.cpp. I have also tried to draw the video in ofApp.cpp, and it works. Anyone have idea how to fix it? Thanks!
(I'm working on OF 0.8.4 with OSX El Capitan)
Can you provide a minimal project to demonstrate your problem?