Skip to content

Commit

Permalink
Use default shader
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart committed Aug 26, 2024
1 parent 5d6d166 commit 7c91c28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scenes/mobile/subscenes/credits.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "../../credits.h"
#include "../../../core/timer.h"
#include "../../../core/video.h"
#include "../../../core/shader.h"
#include "../../../core/image.h"
#include "../../../core/input.h"
#include "../../../core/color.h"
Expand Down Expand Up @@ -194,6 +195,7 @@ void render(mobile_subscene_t* subscene_ptr, v2d_t subscene_offset)
/* render the font to the backbuffer of the subscene */
image_t* target = image_drawing_target();
image_set_drawing_target(subscene->backbuffer);
shader_set_active(shader_get_default());
image_clear(color_hex(BACKGROUND_COLOR));
font_render(subscene->font, camera);
image_set_drawing_target(target);
Expand Down

0 comments on commit 7c91c28

Please sign in to comment.