summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo/gfx.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-06-05 04:40:58 -0400
committerrealtradam <[email protected]>2023-06-05 04:40:58 -0400
commit06a3fc95288b8301a3b872ec5b4e906240f76fef (patch)
tree27fc7b7fb2911e11c661cbebc6161c40cefb0f72 /include/rodeo/gfx.h
parent6ffc61e72504f2a0e99831781ce060dada173aff (diff)
downloadRodeoKit-06a3fc95288b8301a3b872ec5b4e906240f76fef.tar.gz
RodeoKit-06a3fc95288b8301a3b872ec5b4e906240f76fef.zip
begin rewrite to avoid exposed pointers
Diffstat (limited to 'include/rodeo/gfx.h')
-rw-r--r--include/rodeo/gfx.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/rodeo/gfx.h b/include/rodeo/gfx.h
index 28d46ff..a10e901 100644
--- a/include/rodeo/gfx.h
+++ b/include/rodeo/gfx.h
@@ -25,7 +25,7 @@ rodeo_gfx_renderer_name_get(void);
void
rodeo_gfx_renderer_flush(void);
-const rodeo_gfx_texture_2d_t*
+rodeo_gfx_texture_2d_t
rodeo_gfx_texture_2d_default_get(void);
rodeo_gfx_texture_2d_t
@@ -39,20 +39,20 @@ rodeo_gfx_texture_2d_t
rodeo_gfx_texture_2d_create_from_path(cstr path);
void
-rodeo_gfx_texture_2d_destroy(rodeo_gfx_texture_2d_t *texture);
+rodeo_gfx_texture_2d_destroy(rodeo_gfx_texture_2d_t texture);
void
rodeo_gfx_rectangle_draw(
- const rodeo_rectangle_t *rectangle,
- const rodeo_color_RGBAFloat_t *color
+ const rodeo_rectangle_t rectangle,
+ const rodeo_color_RGBAFloat_t color
);
void
rodeo_gfx_texture_2d_draw(
- const rodeo_rectangle_t *destination,
- const rodeo_rectangle_t *source,
- const rodeo_color_RGBAFloat_t *color,
- const rodeo_gfx_texture_2d_t *texture
+ const rodeo_rectangle_t destination,
+ const rodeo_rectangle_t source,
+ const rodeo_color_RGBAFloat_t color,
+ const rodeo_gfx_texture_2d_t texture
);
void