emscripten shader
This commit is contained in:
parent
ea928d0190
commit
7b47d9b743
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
#include "ofApp.h"
|
#include "ofApp.h"
|
||||||
#include "generator-config.h"
|
#include "generator-config.h"
|
||||||
|
#include "ofFileUtils.h"
|
||||||
#include "ofGraphics.h"
|
#include "ofGraphics.h"
|
||||||
#include "ofUtils.h"
|
#include "ofUtils.h"
|
||||||
#include "save-bmp.h"
|
#include "save-bmp.h"
|
||||||
|
@ -69,7 +70,11 @@ void ofApp::setup(){
|
||||||
deinitializeFreetype(ft);
|
deinitializeFreetype(ft);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TARGET_EMSCRIPTEN
|
||||||
|
shader.load("ofxMsdfgen/shaders/simple/ES3/shader");
|
||||||
|
#else
|
||||||
shader.load("ofxMsdfgen/shaders/simple/GL3/shader");
|
shader.load("ofxMsdfgen/shaders/simple/GL3/shader");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------
|
//--------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue