diff LightmapBuilder.cpp @ 2462:1d04e48651d4

Render split into interface and realization, added Direct3D 11
author a.parshin
date Tue, 12 Aug 2014 21:34:18 +0300
parents 8b04ba723324
children 0f17a30149ec
line wrap: on
line diff
--- a/LightmapBuilder.cpp	Tue Aug 05 17:00:35 2014 +0600
+++ b/LightmapBuilder.cpp	Tue Aug 12 21:34:18 2014 +0300
@@ -1411,7 +1411,7 @@
    else
     v24 = D3DDP_DONOTLIGHT;
 
-  ErrD3D(pRenderer->pRenderD3D->pDevice->DrawPrimitive(D3DPT_TRIANGLEFAN,
+  ErrD3D(pRenderD3D->pDevice->DrawPrimitive(D3DPT_TRIANGLEFAN,
             D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX1,
             a2,
             pLightmap->uNumVertices,