Fix issue with attrib arrays in geometry shaders

This commit is contained in:
rdb 2009-08-09 11:08:38 +00:00
parent 5f119ddd28
commit 8edc0a3cd7
1 changed files with 3 additions and 0 deletions

View File

@ -441,6 +441,9 @@ compile_parameter(const ShaderArgId &arg_id,
if (loc < string::npos) {
basename = p._id._name.substr(loc + 1);
}
if (basename.size() >= 2 && basename.substr(0, 2) == "__") {
return true;
}
// Split it at the underscores.
vector_string pieces;