From 37a63d37e2d64049925ba622ad903e094ecc7748 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 26 Apr 2018 09:49:35 +0100 Subject: [PATCH] Split up #pragma so that there only three parameters per line to aovid Intel driver bug crash --- src/osgText/shaders/osgText_Text_frag.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osgText/shaders/osgText_Text_frag.cpp b/src/osgText/shaders/osgText_Text_frag.cpp index 83924489a..da2b73478 100644 --- a/src/osgText/shaders/osgText_Text_frag.cpp +++ b/src/osgText/shaders/osgText_Text_frag.cpp @@ -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"