Split up #pragma so that there only three parameters per line to aovid Intel driver bug crash

This commit is contained in:
Robert Osfield
2018-04-26 09:49:35 +01:00
parent 1daacced5a
commit 37a63d37e2

View File

@@ -1,6 +1,7 @@
char osgText_Text_frag[] = "$OSG_GLSL_VERSION\n"
"\n"
"#pragma import_defines( BACKDROP_COLOR, SHADOW, OUTLINE, SIGNED_DISTANCE_FIELD, TEXTURE_DIMENSION, GLYPH_DIMENSION)\n"
"#pragma import_defines( BACKDROP_COLOR, SHADOW, OUTLINE)\n"
"#pragma import_defines( SIGNED_DISTANCE_FIELD, TEXTURE_DIMENSION, GLYPH_DIMENSION)\n"
"\n"
"#ifdef GL_ES\n"
" #extension GL_OES_standard_derivatives : enable\n"