Changeset 9224 for code/branches/testing/src/libraries/tools
- Timestamp:
- May 19, 2012, 3:03:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/tools/Shader.cc
r9222 r9224 205 205 // change the value of the parameter depending on its type 206 206 if (it->value_.isType<int>()) 207 passPtr->getFragmentProgramParameters()->setNamedConstant(it->parameter_, it->value_.get Int());207 passPtr->getFragmentProgramParameters()->setNamedConstant(it->parameter_, it->value_.get<int>()); 208 208 else if (it->value_.isType<float>()) 209 passPtr->getFragmentProgramParameters()->setNamedConstant(it->parameter_, it->value_.get Float());209 passPtr->getFragmentProgramParameters()->setNamedConstant(it->parameter_, it->value_.get<float>()); 210 210 } 211 211 else
Note: See TracChangeset
for help on using the changeset viewer.