swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit a9943810f5abc083b48dd48068b0504929804551
parent 82d66111130e97638799d8979b1b2b7d6ef389c2
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 25 Oct 2013 01:32:20 -0700

output: Initialize cursor plane

Somehow forgot to commit this when adding cursor planes.

Diffstat:
Mlibswc/output.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/libswc/output.c b/libswc/output.c @@ -103,6 +103,12 @@ bool swc_output_initialize(struct swc_output * output, struct swc_drm * drm, goto error_base; } + if (!swc_plane_initialize(&output->cursor_plane, &swc_cursor_plane, output)) + { + printf("failed to initialize cursor plane\n"); + goto error_base; + } + return true; error_base: