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:
@@ -57,6 +57,7 @@ class GfxGL2 : public GfxDriver {
|
||||
GLuint Shader;
|
||||
GLuint pLocProjection;
|
||||
GLuint pLocTex;
|
||||
GLuint pLocAlfa;
|
||||
GLuint VBO, IBO;
|
||||
};
|
||||
} // namespace PD
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user