mirror of
https://github.com/labwc/labwc.git
synced 2025-11-07 13:30:06 -05:00
node: add node_scaled_scene_buffer_from_node
This commit is contained in:
parent
8156b91306
commit
9a3412324d
4 changed files with 22 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include "buffer.h"
|
||||
#include "common/mem.h"
|
||||
#include "common/scaled-scene-buffer.h"
|
||||
#include "node.h"
|
||||
|
||||
/**
|
||||
* TODO
|
||||
|
|
@ -226,6 +227,8 @@ scaled_scene_buffer_create(struct wlr_scene_tree *parent,
|
|||
free(self);
|
||||
return NULL;
|
||||
}
|
||||
node_descriptor_create(&self->scene_buffer->node,
|
||||
LAB_NODE_DESC_SCALED_SCENE_BUFFER, self);
|
||||
|
||||
self->impl = impl;
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue