mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-07 07:20:07 +00:00
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:
commit
3ecb6e1bd8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user