diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:26:24 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:37:56 +0300 |
commit | cc2b114a21bbd311bd5f497241403aab80fd79a1 (patch) | |
tree | e82e6cd6d1bdd38b118d71a8c089304580dd250e /source/blender/compositor/operations | |
parent | 3e3e42cbcb899c879936ec596759a9c7e533dd5f (diff) |
Cleanup: Clang-Tidy readability-static-accessed-through-instance fixes
No functional changes.
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r-- | source/blender/compositor/operations/COM_WriteBufferOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_WriteBufferOperation.cpp b/source/blender/compositor/operations/COM_WriteBufferOperation.cpp index 8cc53f8c6a9..640e3e3d381 100644 --- a/source/blender/compositor/operations/COM_WriteBufferOperation.cpp +++ b/source/blender/compositor/operations/COM_WriteBufferOperation.cpp @@ -128,7 +128,7 @@ void WriteBufferOperation::executeOpenCLRegion(OpenCLDevice *device, const unsigned int outputBufferWidth = outputBuffer->getWidth(); const unsigned int outputBufferHeight = outputBuffer->getHeight(); - const cl_image_format *imageFormat = device->determineImageFormat(outputBuffer); + const cl_image_format *imageFormat = OpenCLDevice::determineImageFormat(outputBuffer); cl_mem clOutputBuffer = clCreateImage2D(device->getContext(), CL_MEM_WRITE_ONLY | CL_MEM_USE_HOST_PTR, |