diff options
author | Laura Ekstrand <[email protected]> | 2015-03-02 13:41:13 -0800 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2015-05-14 15:48:13 +0200 |
commit | a9f73f7f42081594d0ba9ff6cb7a0a743c3cad93 (patch) | |
tree | b1ba7b8487e3a81bfc729176aff89a8d01b3a2d9 /include/GLES3 | |
parent | a245e3bdeb1cf38b56df4f208a7e20d0f0de6045 (diff) |
main: Refactor get_texture_for_framebuffer.
This moves a few blocks around so that the control flow is more obvious. If
the texture is 0, just return true at the beginning of the function.
Likewise, if the texObj is NULL, return true at the beginning of the function
as well.
[Fredrik: Fix the texObj NULL check]
Reviewed-by: Fredrik Höglund <[email protected]>
Signed-off-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'include/GLES3')
0 files changed, 0 insertions, 0 deletions