123
This commit is contained in:
17
RenderDll/Common/RendElements/CREFlashBang.cpp
Normal file
17
RenderDll/Common/RendElements/CREFlashBang.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "RenderPCH.h"
|
||||
#include "RendElement.h"
|
||||
|
||||
#if !defined(LINUX)
|
||||
|
||||
void CREFlashBang::mfPrepare()
|
||||
{
|
||||
gRenDev->EF_CheckOverflow(0, 0, this);
|
||||
|
||||
gRenDev->m_RP.m_FlagsPerFlush |= RBSI_DRAWAS2D;
|
||||
|
||||
gRenDev->m_RP.m_pRE = this;
|
||||
gRenDev->m_RP.m_RendNumIndices = 0;
|
||||
gRenDev->m_RP.m_RendNumVerts = 0;
|
||||
}
|
||||
|
||||
#endif // !defined(LINUX)
|
||||
Reference in New Issue
Block a user