style cleanup

This commit is contained in:
2012-06-15 14:45:49 +00:00
parent 4f80c3464f
commit f04546018f
7 changed files with 69 additions and 69 deletions

View File

@@ -30,7 +30,7 @@ ViewerNode::ViewerNode(bNode *editorNode): Node(editorNode)
{ {
} }
void ViewerNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context)\ void ViewerNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context)
{ {
InputSocket *imageSocket = this->getInputSocket(0); InputSocket *imageSocket = this->getInputSocket(0);
InputSocket *alphaSocket = this->getInputSocket(1); InputSocket *alphaSocket = this->getInputSocket(1);

View File

@@ -98,7 +98,7 @@ void SplitViewerOperation::executeRegion(rcti *rect, unsigned int tileNumber, Me
copy_v4_v4(srgb, buffer + offset); copy_v4_v4(srgb, buffer + offset);
} }
F4TOCHAR4(srgb, bufferDisplay+offset); rgba_float_to_uchar(bufferDisplay + offset, srgb);
offset += 4; offset += 4;
} }

View File

@@ -100,7 +100,7 @@ void ViewerOperation::executeRegion(rcti *rect, unsigned int tileNumber, MemoryB
copy_v4_v4(srgb, buffer + offset); copy_v4_v4(srgb, buffer + offset);
} }
F4TOCHAR4(srgb, bufferDisplay+offset); rgba_float_to_uchar(bufferDisplay + offset, srgb);
offset += 4; offset += 4;
} }