-
- Downloads
DRTVWR-418: Rationalize LLPipeline API.
Someone evidently figured every static LLPipeline method should have at least one void* parameter. There were methods requiring void* parameters that were completely ignored. More to the point, there were methods whose callers have a U32 in hand -- and which want to use a U32 -- but which bizarrely forced callers to cast to void* just so the method could cast back to U32. In a 64-bit compile, this isn't merely pointless, it's erroneous. Change all such methods to accept U32; remove (void*) casts from call sites. While at it, fix LLPipeline API to use bool, true, false rather than their obsolete all-caps predecessors. Once you eat that first potato chip... :-P
Showing
- indra/newview/llfloaterbeacons.cpp 16 additions, 16 deletionsindra/newview/llfloaterbeacons.cpp
- indra/newview/llpipelinelistener.cpp 4 additions, 4 deletionsindra/newview/llpipelinelistener.cpp
- indra/newview/llviewerdisplay.cpp 4 additions, 4 deletionsindra/newview/llviewerdisplay.cpp
- indra/newview/llviewermenu.cpp 39 additions, 39 deletionsindra/newview/llviewermenu.cpp
- indra/newview/llviewerwindow.cpp 10 additions, 10 deletionsindra/newview/llviewerwindow.cpp
- indra/newview/pipeline.cpp 194 additions, 201 deletionsindra/newview/pipeline.cpp
- indra/newview/pipeline.h 126 additions, 126 deletionsindra/newview/pipeline.h
Loading
Please register or sign in to comment