portability: change uint to unsigned int
This commit is contained in:
parent
eb5499fb10
commit
2b9a319e76
@ -55,7 +55,7 @@ void SGProgram::apply(osg::State& state) const
|
|||||||
if (!infoLog.empty()) {
|
if (!infoLog.empty()) {
|
||||||
// log all the shader source file names, to help in debugging link errors
|
// log all the shader source file names, to help in debugging link errors
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
for (uint i = 0; i < getNumShaders(); ++i) {
|
for (unsigned int i = 0; i < getNumShaders(); ++i) {
|
||||||
const auto shader = getShader(i);
|
const auto shader = getShader(i);
|
||||||
os << "\t" << shader->getFileName() << "\n";
|
os << "\t" << shader->getFileName() << "\n";
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ void SGProgram::apply(osg::State& state) const
|
|||||||
_effectFilePath);
|
_effectFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (uint i = 0; i < getNumShaders(); ++i) {
|
for (unsigned int i = 0; i < getNumShaders(); ++i) {
|
||||||
const auto shader = getShader(i);
|
const auto shader = getShader(i);
|
||||||
auto pcs = shader->getPCS(state);
|
auto pcs = shader->getPCS(state);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user