Mercurial > mm7
diff Render.cpp @ 33:a9e9c6989d04
20.01.13
author | Ritor1 |
---|---|
date | Sun, 20 Jan 2013 18:57:23 +0600 |
parents | 8e33efd39355 |
children | aac67e0d2c10 |
line wrap: on
line diff
--- a/Render.cpp Sat Jan 19 22:26:31 2013 +0600 +++ b/Render.cpp Sun Jan 20 18:57:23 2013 +0600 @@ -7083,7 +7083,7 @@ if (pRenderD3D) { pGame->draw_debug_outlines(); - //DoRenderBillboards_D3D(); Ritor1: it's temporarily + //DoRenderBillboards_D3D(); //Ritor1: it's temporarily pGame->pStru6Instance->RenderSpecialEffects(); pRenderD3D->pDevice->EndScene(); } @@ -11096,7 +11096,7 @@ if (p->uOpacity != RenderBillboardD3D::InvalidOpacity) SetBillboardBlendOptions(p->uOpacity); - ErrD3D(pRenderer->pRenderD3D->pDevice->SetTexture(0, p->pTexture)); + //ErrD3D(pRenderer->pRenderD3D->pDevice->SetTexture(0, p->pTexture)); ErrD3D(pRenderer->pRenderD3D->pDevice->DrawPrimitive(D3DPT_TRIANGLEFAN, D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX1, p->pQuards, p->uNumVertices, D3DDP_DONOTLIGHT | D3DDP_DONOTUPDATEEXTENTS)); }