From 96eb0b71c6fb6d6061944720d22a052806b004ce Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 9 Jun 2005 09:27:43 +0000 Subject: [PATCH] Added \n to end of a couple shader source lines. --- examples/osgmovie/osgmovie.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgmovie/osgmovie.cpp b/examples/osgmovie/osgmovie.cpp index 905281b72..c5b07d1d9 100644 --- a/examples/osgmovie/osgmovie.cpp +++ b/examples/osgmovie/osgmovie.cpp @@ -261,7 +261,7 @@ int main(int argc, char** argv) static const char *shaderSourceTextureRec = { "uniform vec4 cutoff_color;\n" - "uniform samplerRect movie_texture;" + "uniform samplerRect movie_texture;\n" "void main(void)\n" "{\n" " vec4 texture_color = textureRect(movie_texture, gl_TexCoord[0]); \n" @@ -272,7 +272,7 @@ int main(int argc, char** argv) static const char *shaderSourceTexture2D = { "uniform vec4 cutoff_color;\n" - "uniform sampler2D movie_texture;" + "uniform sampler2D movie_texture;\n" "void main(void)\n" "{\n" " vec4 texture_color = texture2D(movie_texture, gl_TexCoord[0]); \n"