diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-02-23 19:26:28 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-02-23 19:26:30 +0300 |
commit | 0305fc30b3ba6a1b24e2c9c182ae2e76d553f341 (patch) | |
tree | af33fb70469ba354bef5642234b31094969e7a3e /intern/cycles/render | |
parent | 51279107491472a37d3abfb8b21b8bbc24e185e3 (diff) |
Fix border rendering for eevee + stop passing render result around
Technically the original issue is that xof/yof in render result is calculated
for drawing border render. So a simpler patch could be:
```
- rr->xof = re->disprect.xmin;
+ rr->xof = re->disprect.xmin + BLI_rcti_cent_x(&re->disprect) - (re->winx / 2);
```
However everywhere in the code we are getting border directly from re->disprect
which we may as well do here too.
Besides I'm taking this as a chance to get rid of RenderResult in the internal
loop of eevee, to help prepare the code to the upcoming rendering pipeline
changes.
Diffstat (limited to 'intern/cycles/render')
0 files changed, 0 insertions, 0 deletions