changeset 617:f2697c2b4109

Billboards are now rendered in BLV
author Nomad
date Fri, 08 Mar 2013 15:52:47 +0200
parents 610d2cf53427
children 5cfb5dadf330
files Render.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Render.cpp	Fri Mar 08 18:03:37 2013 +0600
+++ b/Render.cpp	Fri Mar 08 15:52:47 2013 +0200
@@ -191,9 +191,8 @@
   soft_billboard.uViewportZ = pBLVRenderParams->uViewportZ - 1;
   soft_billboard.uViewportW = pBLVRenderParams->uViewportW;
 
-  pOutdoorCamera->uNumBillboards = uNumBillboardsToDraw;
-
-  for (uint i = 0; i < uNumBillboardsToDraw; ++i)
+  pOutdoorCamera->uNumBillboards = ::uNumBillboardsToDraw;
+  for (uint i = 0; i < ::uNumBillboardsToDraw; ++i)
   {
     auto p = pBillboardRenderList + i;