use define for bokeh blur size, also define size of determineResolution args.

This commit is contained in:
2012-08-10 13:23:31 +00:00
parent fea0e60227
commit e877247789
53 changed files with 72 additions and 77 deletions

View File

@@ -158,7 +158,7 @@ void CompositorOperation::executeRegion(rcti *rect, unsigned int tileNumber)
}
}
void CompositorOperation::determineResolution(unsigned int resolution[], unsigned int preferredResolution[])
void CompositorOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
{
int width = this->m_rd->xsch * this->m_rd->size / 100;
int height = this->m_rd->ysch * this->m_rd->size / 100;