Skip to content

Commit

Permalink
fixed videoplayer compilation for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
d3cod3 committed Sep 4, 2021
1 parent 60f32fe commit a5caa89
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/SplashScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@

#include "config.h"

#include "ofxHapPlayer.h"
#ifndef TARGET_WIN32
#include "ofxHapPlayer.h"
#endif

class SplashScreen : public ofBaseApp{

Expand All @@ -48,7 +50,12 @@ class SplashScreen : public ofBaseApp{

void mousePressed(int x, int y, int button);

ofxHapPlayer background;
#ifndef TARGET_WIN32
ofxHapPlayer background;
#else
ofVideoPlayer background;
#endif

ofTrueTypeFont font;
ofTrueTypeFont fontSmall;
size_t startTime;
Expand Down

0 comments on commit a5caa89

Please sign in to comment.