File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
system/include/emscripten Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 12
12
13
13
#include <emscripten/emscripten.h>
14
14
15
- // Include eventloop.h and console .h for compat with older version of this
16
- // header that used to define these functions.
15
+ // Include eventloop.h, console.h and html5_webgl .h for compat with older
16
+ // version of this header that used to define these functions.
17
17
#include <emscripten/eventloop.h>
18
18
#include <emscripten/console.h>
19
+ #include <emscripten/html5_webgl.h>
19
20
20
21
#ifdef __cplusplus
21
22
extern "C" {
@@ -331,8 +332,7 @@ EMSCRIPTEN_RESULT emscripten_set_visibilitychange_callback_on_thread(void *userD
331
332
EMSCRIPTEN_RESULT emscripten_get_visibility_status (EmscriptenVisibilityChangeEvent * visibilityStatus __attribute__((nonnull )));
332
333
333
334
334
- typedef struct EmscriptenTouchPoint
335
- {
335
+ typedef struct EmscriptenTouchPoint {
336
336
int identifier ;
337
337
int screenX ;
338
338
int screenY ;
@@ -472,6 +472,3 @@ double emscripten_performance_now(void);
472
472
#ifdef __cplusplus
473
473
} // ~extern "C"
474
474
#endif
475
-
476
- // For backwards compatibility, always include html5_webgl.h from html5.h
477
- #include <emscripten/html5_webgl.h>
You can’t perform that action at this time.
0 commit comments