Devtools - Shader editing (#1705)

* devtools: shader editing and compiling

* devtools: patch shader at runtime

* devtools: shader editing load patch even with config disabled
This commit is contained in:
Vinicius Rangel
2024-12-09 17:11:11 -03:00
committed by GitHub
parent f623613d12
commit f1b23c616e
19 changed files with 466 additions and 103 deletions

View File

@@ -41,6 +41,8 @@ struct WindowSystemInfo {
};
class WindowSDL {
int keyboard_grab = 0;
public:
explicit WindowSDL(s32 width, s32 height, Input::GameController* controller,
std::string_view window_title);
@@ -69,6 +71,9 @@ public:
void WaitEvent();
void InitTimers();
void RequestKeyboard();
void ReleaseKeyboard();
private:
void OnResize();
void OnKeyPress(const SDL_Event* event);