style cleanup: assignment & indentation.
This commit is contained in:
@@ -117,8 +117,8 @@ void RenderBuffers::reset(Device *device, BufferParams& params_)
|
||||
uint *init_state = rng_state.resize(params.width, params.height);
|
||||
int x, y, width = params.width, height = params.height;
|
||||
|
||||
for(x=0; x<width; x++)
|
||||
for(y=0; y<height; y++)
|
||||
for(x = 0; x < width; x++)
|
||||
for(y = 0; y < height; y++)
|
||||
init_state[x + y*width] = hash_int_2d(params.full_x+x, params.full_y+y);
|
||||
|
||||
device->mem_alloc(rng_state, MEM_READ_WRITE);
|
||||
|
Reference in New Issue
Block a user