Rename sc_display to sc_texture

The sc_display component now only handles a texture. Rendering has been
moved to sc_screen.
This commit is contained in:
Romain Vimont 2026-01-31 21:38:32 +01:00
parent 6c65f3a774
commit efe67fa8ec
5 changed files with 65 additions and 72 deletions

View file

@ -12,12 +12,12 @@
#include "controller.h"
#include "coords.h"
#include "display.h"
#include "fps_counter.h"
#include "frame_buffer.h"
#include "input_manager.h"
#include "mouse_capture.h"
#include "options.h"
#include "texture.h"
#include "trait/key_processor.h"
#include "trait/frame_sink.h"
#include "trait/mouse_processor.h"
@ -36,7 +36,7 @@ struct sc_screen {
bool video;
bool camera;
struct sc_display display;
struct sc_texture tex;
struct sc_input_manager im;
struct sc_mouse_capture mc; // only used in mouse relative mode
struct sc_frame_buffer fb;