Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 630 vs 631 for /trunk/Source Code/Environment/Vegetation/Vegetation.cpp

Diff revisions: vs.
  @@ -254,19 +254,19 @@
254 254 sizeof(I32), true, NULL, true, false);
255 255
256 256 buffer->getDrawAttribDescriptor(posLocation)
257 - .set(to_const_uint(BufferUsage::CulledPositionBuffer), instanceDiv, 4, false, 0, 0,
258 - GFXDataFormat::FLOAT_32);
257 + .set(to_const_uint(BufferUsage::CulledPositionBuffer), instanceDiv, 4, false, 0,
258 + GFXDataFormat::FLOAT_32);
259 259 buffer->getDrawAttribDescriptor(scaleLocation)
260 - .set(to_const_uint(BufferUsage::CulledSizeBuffer), instanceDiv, 1, false, 0, 0,
260 + .set(to_const_uint(BufferUsage::CulledSizeBuffer), instanceDiv, 1, false, 0,
261 261 GFXDataFormat::FLOAT_32);
262 262 buffer->getDrawAttribDescriptor(instLocation)
263 - .set(to_const_uint(BufferUsage::CulledInstanceBuffer), instanceDiv, 1, false, 0, 0,
263 + .set(to_const_uint(BufferUsage::CulledInstanceBuffer), instanceDiv, 1, false, 0,
264 264 GFXDataFormat::SIGNED_INT);
265 265 buffer->getFdbkAttribDescriptor(posLocation)
266 - .set(to_const_uint(BufferUsage::UnculledPositionBuffer), instanceDiv, 4, false, 0, 0,
266 + .set(to_const_uint(BufferUsage::UnculledPositionBuffer), instanceDiv, 4, false, 0,
267 267 GFXDataFormat::FLOAT_32);
268 268 buffer->getFdbkAttribDescriptor(scaleLocation)
269 - .set(to_const_uint(BufferUsage::UnculledSizeBuffer), instanceDiv, 1, false, 0, 0,
269 + .set(to_const_uint(BufferUsage::UnculledSizeBuffer), instanceDiv, 1, false, 0,
270 270 GFXDataFormat::FLOAT_32);
271 271
272 272 buffer->toggleDoubleBufferedQueries(false);