comparison engine/core/view/renderers/camerazonerenderer.cpp @ 482:16c2b3ee59ce

* Merged the view performance branch back into trunk. fixes[ticket:419]
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 29 Apr 2010 13:51:45 +0000
parents 90005975cdbb
children
comparison
equal deleted inserted replaced
481:1f37adc9a685 482:16c2b3ee59ce
66 delete m_zone_image; 66 delete m_zone_image;
67 } 67 }
68 68
69 69
70 70
71 void CameraZoneRenderer::render(Camera* cam, Layer* layer, std::vector<Instance*>& instances) { 71 void CameraZoneRenderer::render(Camera* cam, Layer* layer, RenderList& instances) {
72 CellGrid* cg = layer->getCellGrid(); 72 CellGrid* cg = layer->getCellGrid();
73 if (!cg) { 73 if (!cg) {
74 FL_WARN(_log, "No cellgrid assigned to layer, cannot draw camera zones"); 74 FL_WARN(_log, "No cellgrid assigned to layer, cannot draw camera zones");
75 return; 75 return;
76 } 76 }