From b96c6220157807cbfa3568031d5ab688280fe1d6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 11 Aug 2012 22:12:32 +0000 Subject: style cleanup --- source/blender/compositor/intern/COM_WorkScheduler.cpp | 6 +++--- source/blender/compositor/operations/COM_BokehBlurOperation.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/compositor') diff --git a/source/blender/compositor/intern/COM_WorkScheduler.cpp b/source/blender/compositor/intern/COM_WorkScheduler.cpp index 6b32645c48b..61b18a6daf4 100644 --- a/source/blender/compositor/intern/COM_WorkScheduler.cpp +++ b/source/blender/compositor/intern/COM_WorkScheduler.cpp @@ -72,8 +72,8 @@ static bool g_openclActive = false; #define MAX_HIGHLIGHT 8 extern "C" { int g_highlightIndex; -void ** g_highlightedNodes; -void ** g_highlightedNodesRead; +void **g_highlightedNodes; +void **g_highlightedNodesRead; #define HIGHLIGHT(wp) \ { \ @@ -282,7 +282,7 @@ void WorkScheduler::initialize() cl_platform_id platform = platforms[indexPlatform]; cl_uint numberOfDevices = 0; clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 0, 0, &numberOfDevices); - if (numberOfDevices>0) { + if (numberOfDevices > 0) { cl_device_id *cldevices = new cl_device_id[numberOfDevices]; clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, numberOfDevices, cldevices, 0); diff --git a/source/blender/compositor/operations/COM_BokehBlurOperation.cpp b/source/blender/compositor/operations/COM_BokehBlurOperation.cpp index b31974487ed..1c91af2a7a3 100644 --- a/source/blender/compositor/operations/COM_BokehBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_BokehBlurOperation.cpp @@ -92,7 +92,7 @@ void BokehBlurOperation::executePixel(float output[4], int x, int y, void *data) int pixelSize = this->m_size * max_dim / 100.0f; zero_v4(color_accum); - if (pixelSize<2) { + if (pixelSize < 2) { this->m_inputProgram->read(color_accum, x, y, COM_PS_NEAREST); multiplier_accum[0] = 1.0f; multiplier_accum[1] = 1.0f; -- cgit v1.2.3