Commit c624d57
committed
Directly get the size of the renderer buffer from the renderer.
... rather than trying to compute it outselves, which can lead to
off-by-one errors due to the use of floats in the initial buffer
request.1 parent 38476fd commit c624d57
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
0 commit comments