mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
cleaning code for review
This commit is contained in:
parent
5063159581
commit
68de91c80a
1 changed files with 4 additions and 4 deletions
|
@ -2209,23 +2209,23 @@ void Model::pickPrograms(gpu::Batch& batch, RenderMode mode, bool translucent, f
|
|||
if (hasSpecular) {
|
||||
program = _lightmapNormalSpecularMapProgram;
|
||||
locations = &_lightmapNormalSpecularMapLocations;
|
||||
skinProgram.reset(nullptr);
|
||||
skinProgram.reset();
|
||||
skinLocations = NULL;
|
||||
} else {
|
||||
program = _lightmapNormalMapProgram;
|
||||
locations = &_lightmapNormalMapLocations;
|
||||
skinProgram.reset(nullptr);
|
||||
skinProgram.reset();
|
||||
skinLocations = NULL;
|
||||
}
|
||||
} else if (hasSpecular) {
|
||||
program = _lightmapSpecularMapProgram;
|
||||
locations = &_lightmapSpecularMapLocations;
|
||||
skinProgram.reset(nullptr);
|
||||
skinProgram.reset();
|
||||
skinLocations = NULL;
|
||||
} else {
|
||||
program = _lightmapProgram;
|
||||
locations = &_lightmapLocations;
|
||||
skinProgram.reset(nullptr);
|
||||
skinProgram.reset();
|
||||
skinLocations = NULL;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue