diff options
Diffstat (limited to 'render/gles2/renderer.c')
-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; } |