mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 16:34:08 +00:00
add debug render groups
This commit is contained in:
parent
bb8b823c30
commit
996772faf2
21 changed files with 136 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "common.h"
|
||||
|
||||
#include "main.h"
|
||||
#include "General.h"
|
||||
#include "Timer.h"
|
||||
#include "TxdStore.h"
|
||||
|
@ -1785,6 +1786,8 @@ void CParticle::Update()
|
|||
|
||||
void CParticle::Render()
|
||||
{
|
||||
PUSH_RENDERGROUP("CParticle::Render");
|
||||
|
||||
RwRenderStateSet(rwRENDERSTATETEXTUREADDRESS, (void *)rwTEXTUREADDRESSWRAP);
|
||||
RwRenderStateSet(rwRENDERSTATETEXTUREPERSPECTIVE, (void *)TRUE);
|
||||
RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void *)FALSE);
|
||||
|
@ -2282,6 +2285,8 @@ void CParticle::Render()
|
|||
RwRenderStateSet(rwRENDERSTATEZTESTENABLE, (void *)TRUE);
|
||||
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void *)rwBLENDSRCALPHA);
|
||||
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void *)rwBLENDINVSRCALPHA);
|
||||
|
||||
POP_RENDERGROUP();
|
||||
}
|
||||
|
||||
void CParticle::RemovePSystem(tParticleType type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue