Adapt for web
This commit is contained in:
1 parent
7418bbbe27
commit
9f82e7a2e6
14 files changed
+189
-40
No files matched your search
@@ -54,6 +54,12 @@ namespace ZL {
|
||||
void handleUp(int mx, int my);
|
||||
void handleMotion(int mx, int my);
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
static Game* s_instance;
|
||||
static void onResourcesZipLoaded(const char* filename);
|
||||
static void onResourcesZipError(const char* filename);
|
||||
#endif
|
||||
|
||||
SDL_Window* window;
|
||||
SDL_GLContext glContext;
|
||||
|
||||
|
||||
Reference in new issue
Block a user