diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 02:12:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 02:12:32 +0400 |
commit | b96c6220157807cbfa3568031d5ab688280fe1d6 (patch) | |
tree | b357c12ac0d629577a7711769dcec4f410293ee4 /source/blender/compositor | |
parent | c567cf3fab5b962a4166ef44f45c80941021b60d (diff) |
style cleanup
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/intern/COM_WorkScheduler.cpp | 6 | ||||
-rw-r--r-- | source/blender/compositor/operations/COM_BokehBlurOperation.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
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; |