diff options
author | L. Krause <eska@eska.me> | 2017-04-27 15:34:46 +0200 |
---|---|---|
committer | L. Krause <eska@eska.me> | 2017-04-28 21:54:44 +0200 |
commit | 847bd33fdf3e188e82696382bf41394dbf5c76f6 (patch) | |
tree | 4bfeeaf1590a0b2938b57884d747745587f54d88 /platform/javascript/os_javascript.h | |
parent | 5993a5fac9a108297fc7909d1a38abac471d037d (diff) | |
download | redot-engine-847bd33fdf3e188e82696382bf41394dbf5c76f6.tar.gz |
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 0c956ecba6..dfc1a43226 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; @@ -167,7 +161,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(); }; |