Removed parameter from executePixel and initializeTileData.

This commit is contained in:
2012-07-13 12:24:42 +00:00
parent bccd5380f5
commit 9987a8fca7
256 changed files with 762 additions and 763 deletions

View File

@@ -82,12 +82,11 @@ void ViewerOperation::executeRegion(rcti *rect, unsigned int tileNumber)
for (y = y1; y < y2 && (!breaked); y++) {
for (x = x1; x < x2; x++) {
this->m_imageInput->read(&(buffer[offset]), x, y, COM_PS_NEAREST, NULL);
this->m_imageInput->read(&(buffer[offset]), x, y, COM_PS_NEAREST);
if (this->m_alphaInput != NULL) {
this->m_alphaInput->read(alpha, x, y, COM_PS_NEAREST, NULL);
this->m_alphaInput->read(alpha, x, y, COM_PS_NEAREST);
buffer[offset + 3] = alpha[0];
}
/// @todo: linear conversion only when scene color management is selected, also check predivide.
if (this->m_doColorManagement) {
if (this->m_doColorPredivide) {
linearrgb_to_srgb_predivide_v4(srgb, buffer + offset);