Merge pull request #410 from takahito-tejima/dev

#version 410 for XFB kernel and then OSX can run the XFB kernel.
This commit is contained in:
Takahito Tejima 2015-04-10 15:43:27 -07:00
commit 3ecb6e1bd8

View File

@ -116,7 +116,7 @@ public:
<< "#define STRIDE " << desc.stride << "\n";
std::string defineStr = defines.str();
const char *shaderSources[4] = {"#version 420\n", 0, 0, 0};
const char *shaderSources[4] = {"#version 410\n", 0, 0, 0};
shaderSources[1] = defineStr.c_str();
shaderSources[2] = shaderDefines;