# HG changeset patch # User Nomad # Date 1362750767 -7200 # Node ID f2697c2b410945c9ed0b56617cb378732d8da38f # Parent 610d2cf53427212f1f0f535229485a3c69958f1b Billboards are now rendered in BLV diff -r 610d2cf53427 -r f2697c2b4109 Render.cpp --- 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;