diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-05-02 11:30:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-02 11:30:01 +0200 |
commit | 9bdc498f90ea3b1200ec0f08c95584839d94ecec (patch) | |
tree | 914c69e4bc10e172ba6fbea7621bf716a6d05eec /platform/javascript/os_javascript.h | |
parent | 9a40b92b8a920b4721625dc55956e593931ff993 (diff) | |
parent | 847bd33fdf3e188e82696382bf41394dbf5c76f6 (diff) |
Merge pull request #8574 from eska014/html5-noglut
Remove GLUT usage in HTML5 platform
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r-- | platform/javascript/os_javascript.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h index b50d0030d2..ffd269b512 100644 --- a/platform/javascript/os_javascript.h +++ b/platform/javascript/os_javascript.h @@ -45,16 +45,10 @@ #include <emscripten/html5.h> -typedef void (*GFXInitFunc)(void *ud, bool gl2, int w, int h, bool fs); typedef String (*GetDataDirFunc)(); class OS_JavaScript : public OS_Unix { - GFXInitFunc gfx_init_func; - void *gfx_init_ud; - - bool use_gl2; - int64_t time_to_save_sync; int64_t last_sync_time; @@ -169,7 +163,7 @@ public: virtual int get_power_seconds_left(); virtual int get_power_percent_left(); - OS_JavaScript(const char *p_execpath, GFXInitFunc p_gfx_init_func, void *p_gfx_init_ud, GetDataDirFunc p_get_data_dir_func); + OS_JavaScript(const char *p_execpath, GetDataDirFunc p_get_data_dir_func); ~OS_JavaScript(); }; |