diff options
author | Stefano Ragni <stefano.ragni1@gmail.com> | 2018-03-10 15:55:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-10 15:55:45 +0100 |
commit | 2aa01586a2d988c552f8d684d9b4d148ad6f9417 (patch) | |
tree | c46deedb035311e22decebecf531e0fc8806190d /_posts/2018-02-17-Writing-a-Wayland-compositor-1.md | |
parent | 7ad14f94fc1632d57369b5815343a7d7e11bb422 (diff) |
Color is not a member of mcw_output here
Diffstat (limited to '_posts/2018-02-17-Writing-a-Wayland-compositor-1.md')
-rw-r--r-- | _posts/2018-02-17-Writing-a-Wayland-compositor-1.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md b/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md index cb33cf2..6c059ed 100644 --- a/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md +++ b/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md @@ -339,7 +339,7 @@ We can now take advantage of this renderer to draw something on the output. + wlr_renderer_begin(renderer, wlr_output); + + float color[4] = {1.0, 0, 0, 1.0}; -+ wlr_renderer_clear(renderer, &output->color); ++ wlr_renderer_clear(renderer, &color); + + wlr_output_swap_buffers(wlr_output, NULL, NULL); + wlr_renderer_end(renderer); |