From 0b3da415ef6c37f2e5573a68b19b93fa5a6a556e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 6 Feb 2013 11:16:29 +0000 Subject: [PATCH] Fixed warning --- examples/osgdepthpeeling/Utility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgdepthpeeling/Utility.cpp b/examples/osgdepthpeeling/Utility.cpp index f3cab71dc..cb68edfe1 100644 --- a/examples/osgdepthpeeling/Utility.cpp +++ b/examples/osgdepthpeeling/Utility.cpp @@ -51,14 +51,14 @@ osg::Program* Utility::createProgram(std::string vs, std::string fs) if(!readFile((char*)vs.c_str(), vertSource)) { printf("shader source not found\n"); - return false; + return 0; } std::string fragSource; if(!readFile((char*)fs.c_str(), fragSource)) { printf("shader source not found\n"); - return false; + return 0; }