backend updates

pd-3ds:
Add support for RGB565 textures
pd-desktop:
Add support for A8 textures
Add glfw callback chain to not break other libs using the same callback
This commit is contained in:
2026-01-05 14:37:57 +01:00
parent 3575a6787d
commit eb5d5f9974
5 changed files with 31 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ class HidGLFW : public HidDriver {
GLFWwindow* Window;
int PrevState;
std::unordered_map<int, int> PrevStates;
static GLFWcharfun pOldTextCB;
static std::string* pText;
bool pInTextMode = false;
PD::u64 pLastUpdate = 0;