Browse Source

Remove deprecated plPipeline BeginDrawable/EndDrawable.

Darryl Pogue 10 years ago
parent
commit
b16c296822
  1. 3
      Sources/Plasma/NucleusLib/inc/plPipeline.h
  2. 17
      Sources/Plasma/PubUtilLib/plPipeline/DX/plDXPipeline.cpp
  3. 3
      Sources/Plasma/PubUtilLib/plPipeline/DX/plDXPipeline.h

3
Sources/Plasma/NucleusLib/inc/plPipeline.h

@ -228,9 +228,6 @@ public:
virtual bool EndRender() = 0;
virtual void RenderScreenElements( void ) = 0;
virtual bool BeginDrawable(plDrawable* d) = 0;
virtual bool EndDrawable(plDrawable* d) = 0;
virtual void BeginVisMgr(plVisMgr* visMgr) = 0;
virtual void EndVisMgr(plVisMgr* visMgr) = 0;

17
Sources/Plasma/PubUtilLib/plPipeline/DX/plDXPipeline.cpp

@ -2884,21 +2884,6 @@ void plDXPipeline::Render( plDrawable *d, const hsTArray<int16_t>& visList )
}
}
//// BeginDrawable ////////////////////////////////////////////////////////////
// Obsolete, should be removed
bool plDXPipeline::BeginDrawable( plDrawable *d )
{
return true;
}
//// EndDrawable //////////////////////////////////////////////////////////////
// Obsolete, should be removed
bool plDXPipeline::EndDrawable( plDrawable *d )
{
return true;
}
// IMakeLightLists ///////////////////////////////////////////////////////////
// Look through all the current lights, and fill out two lists.
// Only active lights (not disabled, not exactly black, and not
@ -5202,9 +5187,7 @@ void plDXPipeline::ClearRenderTarget( plDrawable* d )
fView.fDrawableTypeMask = plDrawable::kNormal;
fView.fSubDrawableTypeMask = uint32_t(-1);
BeginDrawable(d);
Draw(d);
EndDrawable(d);
fView.fSubDrawableTypeMask = sdtm;
fView.fDrawableTypeMask = dtm;

3
Sources/Plasma/PubUtilLib/plPipeline/DX/plDXPipeline.h

@ -645,9 +645,6 @@ public:
virtual bool EndRender();
virtual void RenderScreenElements();
virtual bool BeginDrawable(plDrawable* d);
virtual bool EndDrawable(plDrawable* d);
virtual void BeginVisMgr(plVisMgr* visMgr);
virtual void EndVisMgr(plVisMgr* visMgr);

Loading…
Cancel
Save