Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-15 19:19:26 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-15 19:19:26 +0300
commit8610b57271eb792b7fbdf31596ab432794ba7a88 (patch)
tree054a1e1207d93eb52568604a16609474f96596fb /intern/cycles/device/device.cpp
parentc617fcad10e48e557769a101d2ec382e63840cd0 (diff)
Cycles: Cleanup, code style
Diffstat (limited to 'intern/cycles/device/device.cpp')
-rw-r--r--intern/cycles/device/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp
index 428cd4158bc..565f8f5404c 100644
--- a/intern/cycles/device/device.cpp
+++ b/intern/cycles/device/device.cpp
@@ -203,7 +203,7 @@ bool Device::bind_fallback_display_space_shader(const float width, const float h
fallback_shader_program = bind_fallback_shader();
fallback_status = FALLBACK_SHADER_STATUS_ERROR;
- if (fallback_shader_program == 0) {
+ if(fallback_shader_program == 0) {
return false;
}
@@ -266,7 +266,7 @@ void Device::draw_pixels(
GLint shader_program;
if(use_fallback_shader) {
- if (!bind_fallback_display_space_shader(dw, dh)) {
+ if(!bind_fallback_display_space_shader(dw, dh)) {
return;
}
shader_program = fallback_shader_program;