diff options
Diffstat (limited to 'game/src/plugins/viewer.c')
-rw-r--r-- | game/src/plugins/viewer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/src/plugins/viewer.c b/game/src/plugins/viewer.c index dd7f451..c58b0e0 100644 --- a/game/src/plugins/viewer.c +++ b/game/src/plugins/viewer.c | |||
@@ -30,7 +30,7 @@ struct State { | |||
30 | }; | 30 | }; |
31 | 31 | ||
32 | /// Load the skyquad texture. | 32 | /// Load the skyquad texture. |
33 | static Texture* load_environment_map(Gfx* gfx) { | 33 | static const Texture* load_environment_map(Gfx* gfx) { |
34 | assert(gfx); | 34 | assert(gfx); |
35 | return gfx_load_texture( | 35 | return gfx_load_texture( |
36 | gfx, &(LoadTextureCmd){ | 36 | gfx, &(LoadTextureCmd){ |
@@ -56,7 +56,7 @@ static SceneNode* load_skyquad(Gfx* gfx, SceneNode* root) { | |||
56 | 56 | ||
57 | RenderBackend* render_backend = gfx_get_render_backend(gfx); | 57 | RenderBackend* render_backend = gfx_get_render_backend(gfx); |
58 | 58 | ||
59 | Texture* environment_map = load_environment_map(gfx); | 59 | const Texture* environment_map = load_environment_map(gfx); |
60 | if (!environment_map) { | 60 | if (!environment_map) { |
61 | return 0; | 61 | return 0; |
62 | } | 62 | } |