diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-13 15:46:54 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-07-13 15:46:54 -0400 |
commit | b902c2bd7c012363aad62d414622b2a1b81d5cb5 (patch) | |
tree | b3c01080ead17997e8fe186d9bdeeabc79547c4c /render | |
parent | a0afedcd8fbeb2013252e629d524aa83cdd9326e (diff) |
Revert "Move side-effect out of assert statement"
This reverts commit a0afedcd8fbeb2013252e629d524aa83cdd9326e.
Diffstat (limited to 'render')
-rw-r--r-- | render/gles2/renderer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 548dd597..27c16e52 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -25,8 +25,7 @@ static struct wlr_gles2_renderer *gles2_get_renderer( static struct wlr_gles2_renderer *gles2_get_renderer_in_context( struct wlr_renderer *wlr_renderer) { struct wlr_gles2_renderer *renderer = gles2_get_renderer(wlr_renderer); - bool current = wlr_egl_is_current(renderer->egl); - assert(current); + assert(wlr_egl_is_current(renderer->egl)); return renderer; } |