Convert SSD to scene nodes

This commit is contained in:
Consolatis 2022-02-21 03:18:38 +01:00 committed by Johan Malm
parent f2d40a8d69
commit 5862b65f89
23 changed files with 1134 additions and 557 deletions

View file

@ -0,0 +1,11 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <assert.h>
#include <wlr/types/wlr_scene.h>
struct wlr_scene_rect *
lab_wlr_scene_get_rect(struct wlr_scene_node *node)
{
assert(node->type == WLR_SCENE_NODE_RECT);
return (struct wlr_scene_rect *)node;
}