summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-20 09:25:21 +0100
committerGitHub <noreply@github.com>2019-01-20 09:25:21 +0100
commitf0035b7cc78392938c5c163e961ff4604cb10c1a (patch)
tree09e3d85d725b04963b72d3585812253ac9015b40 /platform
parent35728e41ba21da931cac5a1c15b52f06b28af353 (diff)
parentdb6be7b59ffaf7b98bf6d438a335ad1c8d98cec2 (diff)
Merge pull request #25150 from eska014/html5-warning
Fix HTML5 build warning
Diffstat (limited to 'platform')
-rw-r--r--platform/javascript/os_javascript.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index 64148915a5..a9f9e23463 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -58,6 +58,7 @@ class OS_JavaScript : public OS_Unix {
int last_click_button_index;
MainLoop *main_loop;
+ int video_driver_index;
AudioDriverJavaScript audio_driver_javascript;
bool idb_available;
@@ -85,8 +86,6 @@ class OS_JavaScript : public OS_Unix {
static void file_access_close_callback(const String &p_file, int p_flags);
- int video_driver_index;
-
protected:
virtual int get_current_video_driver() const;