diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 18:45:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 23:30:08 +0300 |
commit | c5862e0a06b75767fd863673c54aab54f27d1872 (patch) | |
tree | 859b364533455278eb73fb39e3ebf33996d250cc /source/blender/gpu/intern/gpu_select.c | |
parent | 024d40b504e4dc2a23824021bdcfe772a1f5f670 (diff) |
Cleanup: comments (long lines) in gpu
Diffstat (limited to 'source/blender/gpu/intern/gpu_select.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_select.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_select.c b/source/blender/gpu/intern/gpu_select.c index 4cfedc0708b..4268af2198d 100644 --- a/source/blender/gpu/intern/gpu_select.c +++ b/source/blender/gpu/intern/gpu_select.c @@ -69,7 +69,8 @@ static GPUSelectState g_select_state = {0}; void GPU_select_begin(uint *buffer, uint bufsize, const rcti *input, char mode, int oldhits) { if (mode == GPU_SELECT_NEAREST_SECOND_PASS) { - /* In the case hits was '-1', don't start the second pass since it's not going to give useful results. + /* In the case hits was '-1', + * don't start the second pass since it's not going to give useful results. * As well as buffer overflow in 'gpu_select_query_load_id'. */ BLI_assert(oldhits != -1); } @@ -99,7 +100,8 @@ void GPU_select_begin(uint *buffer, uint bufsize, const rcti *input, char mode, } /** - * loads a new selection id and ends previous query, if any. In second pass of selection it also returns + * loads a new selection id and ends previous query, if any. + * In second pass of selection it also returns * if id has been hit on the first pass already. * Thus we can skip drawing un-hit objects. * |