diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-01 16:11:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-01 17:49:52 +0300 |
commit | 399a27b2616bcf7dc50de7a27e513c8db6296329 (patch) | |
tree | 2e02e1d2f1827dc1369c1f542286d9d51114fa8a /intern/cycles/device/device_cuda.cpp | |
parent | f45f2ac68732aae68cb13103795ba9303fa5da77 (diff) |
Cycles: Code cleanup, spaces around keyword and brace
Diffstat (limited to 'intern/cycles/device/device_cuda.cpp')
-rw-r--r-- | intern/cycles/device/device_cuda.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp index 8d690466c07..80a2dda22c4 100644 --- a/intern/cycles/device/device_cuda.cpp +++ b/intern/cycles/device/device_cuda.cpp @@ -919,7 +919,7 @@ public: draw_params.bind_display_space_shader_cb(); } - if (!vertex_buffer) + if(!vertex_buffer) glGenBuffers(1, &vertex_buffer); glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); @@ -928,7 +928,7 @@ public: vpointer = (float *)glMapBuffer(GL_ARRAY_BUFFER, GL_WRITE_ONLY); - if (vpointer) { + if(vpointer) { /* texture coordinate - vertex pair */ vpointer[0] = 0.0f; vpointer[1] = 0.0f; |