aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/skc/platforms/cl_12/surface_cl_12.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compute/skc/platforms/cl_12/surface_cl_12.c')
-rw-r--r--src/compute/skc/platforms/cl_12/surface_cl_12.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compute/skc/platforms/cl_12/surface_cl_12.c b/src/compute/skc/platforms/cl_12/surface_cl_12.c
index c4e205a04b..e5f79c2d53 100644
--- a/src/compute/skc/platforms/cl_12/surface_cl_12.c
+++ b/src/compute/skc/platforms/cl_12/surface_cl_12.c
@@ -56,6 +56,7 @@ struct skc_surface_impl
struct skc_surface_render
{
skc_uint clip[4];
+ skc_uint txty[2];
struct skc_surface_impl * impl;
struct skc_styling * styling;
@@ -329,6 +330,7 @@ skc_surface_pfn_render(struct skc_surface_impl * const impl,
skc_composition_t composition,
skc_framebuffer_t fb,
uint32_t const clip[4],
+ int32_t const txty[2],
skc_surface_render_notify notify,
void * data)
{
@@ -359,6 +361,9 @@ skc_surface_pfn_render(struct skc_surface_impl * const impl,
render->clip[2] = clip[2];
render->clip[3] = clip[3];
+ render->txty[0] = txty[0];
+ render->txty[1] = txty[1];
+
render->impl = impl;
render->styling = styling;
render->composition = composition;