Skip to content

Commit f52655b

Browse files
authored
changed ifdef to if defined (#7364)
#changelog #gl
1 parent 5dd623d commit f52655b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/openFrameworks/gl/ofShadow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ void ofShadow::_allocateFbo() {
10351035
}
10361036
#endif
10371037

1038-
#ifdef GL_CLAMP_TO_BORDER && !defined(TARGET_EMSCRIPTEN)
1038+
#if defined(GL_CLAMP_TO_BORDER) && !defined(TARGET_EMSCRIPTEN)
10391039
glTexParameteri(textureTarget, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER);
10401040
glTexParameteri(textureTarget, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER);
10411041
float borderColor[] = { 0.0f, 0.0f, 0.0f, 1.0f };

0 commit comments

Comments
 (0)