We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd68420 commit c382ed2Copy full SHA for c382ed2
1 file changed
examples/gl/shadowsExample/src/ofApp.cpp
@@ -200,7 +200,7 @@ void ofApp::draw(){
200
201
if( !ofIsGLProgrammableRenderer() ) {
202
ss << endl << "SHADOWS ONLY WORK WITH PROGRAMMABLE RENDERER!" << endl;
203
- } else if( ofShadow::areShadowsSupported() ) {
+ } else if( !ofShadow::areShadowsSupported() ) {
204
ss << endl << "SHADOWS NOT SUPPORTED ON THIS PLATFORM!" << endl;
205
} else {
206
ss << "Shadows enabled (spacebar): " << bEnableShadows;
0 commit comments