History

cleaning code for review

Sam Gateau committed 11 years ago

Commit 68de91c1 parent 50631591 file · +4 −4Browse files

Showing the changes to libraries/render-utils/src/Model.cpp (1 of 1 file). Show all

Unified · Split

libraries/render-utils/src/Model.cpp+4−4
@@ -2209,23 +2209,23 @@ void Model::pickPrograms(gpu::Batch& batch, RenderMode mode, bool translucent, f · 2208 unmodified lines
22092209 if (hasSpecular) {
22102210 program = _lightmapNormalSpecularMapProgram;
22112211 locations = &_lightmapNormalSpecularMapLocations;
2212− skinProgram.reset(nullptr);
2212+ skinProgram.reset();
22132213 skinLocations = NULL;
22142214 } else {
22152215 program = _lightmapNormalMapProgram;
22162216 locations = &_lightmapNormalMapLocations;
2217− skinProgram.reset(nullptr);
2217+ skinProgram.reset();
22182218 skinLocations = NULL;
22192219 }
22202220 } else if (hasSpecular) {
22212221 program = _lightmapSpecularMapProgram;
22222222 locations = &_lightmapSpecularMapLocations;
2223− skinProgram.reset(nullptr);
2223+ skinProgram.reset();
22242224 skinLocations = NULL;
22252225 } else {
22262226 program = _lightmapProgram;
22272227 locations = &_lightmapLocations;
2228− skinProgram.reset(nullptr);
2228+ skinProgram.reset();
22292229 skinLocations = NULL;
22302230 }
22312231 } else {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t