Mercurial > might-and-magic-trilogy
diff Render.cpp @ 190:d7bd52a35e52
24.12.12
author | Ritor1 |
---|---|
date | Mon, 24 Dec 2012 07:48:44 +0600 |
parents | b1f67710227f |
children | 6109a4e23903 03d52010d433 |
line wrap: on
line diff
--- a/Render.cpp Fri Dec 21 00:22:57 2012 +0600 +++ b/Render.cpp Mon Dec 24 07:48:44 2012 +0600 @@ -11090,11 +11090,8 @@ SetBillboardBlendOptions(p->uOpacity); 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)); + ErrD3D(pRenderer->pRenderD3D->pDevice->DrawPrimitive(D3DPT_TRIANGLEFAN, D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX1, + p->pQuards, p->uNumVertices, D3DDP_DONOTLIGHT | D3DDP_DONOTUPDATEEXTENTS)); } if (pRenderer->bFogEnabled)