From 88ab79e436aec6ede0fca4949570f534ffb1b853 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 9 Mar 2024 09:29:52 -0800 Subject: Rename RenderBackend -> GfxCore. --- game/src/plugins/texture_view.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'game/src/plugins/texture_view.c') diff --git a/game/src/plugins/texture_view.c b/game/src/plugins/texture_view.c index 52dff57..a8b2a94 100644 --- a/game/src/plugins/texture_view.c +++ b/game/src/plugins/texture_view.c @@ -1,7 +1,7 @@ #include "plugin.h" #include -#include +#include #include #include #include @@ -33,7 +33,7 @@ bool init(Game* game, State** pp_state) { // Usage: [texture file] const char* texture_file = game->argc > 1 ? game->argv[1] : DEFAULT_TEXTURE; - RenderBackend* render_backend = gfx_get_render_backend(game->gfx); + GfxCore* gfxcore = gfx_get_core(game->gfx); const Texture* texture = gfx_load_texture( game->gfx, &(LoadTextureCmd){ @@ -46,12 +46,12 @@ bool init(Game* game, State** pp_state) { goto cleanup; } - ShaderProgram* shader = gfx_make_view_texture_shader(render_backend); + ShaderProgram* shader = gfx_make_view_texture_shader(gfxcore); if (!shader) { goto cleanup; } - Geometry* geometry = gfx_make_quad_11(render_backend); + Geometry* geometry = gfx_make_quad_11(gfxcore); if (!geometry) { goto cleanup; } -- cgit v1.2.3