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 5dd623d commit f52655bCopy full SHA for f52655b
libs/openFrameworks/gl/ofShadow.cpp
@@ -1035,7 +1035,7 @@ void ofShadow::_allocateFbo() {
1035
}
1036
#endif
1037
1038
- #ifdef GL_CLAMP_TO_BORDER && !defined(TARGET_EMSCRIPTEN)
+ #if defined(GL_CLAMP_TO_BORDER) && !defined(TARGET_EMSCRIPTEN)
1039
glTexParameteri(textureTarget, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER);
1040
glTexParameteri(textureTarget, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER);
1041
float borderColor[] = { 0.0f, 0.0f, 0.0f, 1.0f };
0 commit comments