openframeworks/openFrameworks — pull request #2784 by tgfrerer (2014-01-31 20:21:27+00:00)
Title: fix ofShader include path behaviour

# Detail
* Addresses issue #2768, #2783, ping @ofTheo , @arturoc – is this the behaviour you were after, too?
* this fix brings the ofShader #pragma include directive in line with the behaviour of a C preprocessor.
* include paths will now always be _relative to the file calling the include_

# Test case
* Here's a test project: https://dl.dropboxusercontent.com/u/7610550/testShaderIncludePath.zip
* Tested on Windows (VS2012 / Windows 7), OS X (10.9)

# Motivation
Prior to this fix, shader #pragma include paths were always relative to current OF_DATA_PATH.

This was not in line with how the c preprocessor resolved relative paths, and it also limited portability of shader modules.

Signed-off-by: tgfrerer