You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
iOS modular build and export implementation.
This commit is contained in:
@@ -970,8 +970,6 @@ Error OS_JavaScript::initialize(const VideoMode &p_desired, int p_video_driver,
|
||||
VisualServer *visual_server = memnew(VisualServerRaster());
|
||||
input = memnew(InputDefault);
|
||||
|
||||
camera_server = memnew(CameraServer);
|
||||
|
||||
EMSCRIPTEN_RESULT result;
|
||||
#define EM_CHECK(ev) \
|
||||
if (result != EMSCRIPTEN_RESULT_SUCCESS) \
|
||||
@@ -1106,7 +1104,6 @@ void OS_JavaScript::delete_main_loop() {
|
||||
|
||||
void OS_JavaScript::finalize() {
|
||||
|
||||
memdelete(camera_server);
|
||||
memdelete(input);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include "drivers/unix/os_unix.h"
|
||||
#include "main/input_default.h"
|
||||
#include "servers/audio_server.h"
|
||||
#include "servers/camera_server.h"
|
||||
#include "servers/visual/rasterizer.h"
|
||||
|
||||
#include <emscripten/html5.h>
|
||||
@@ -67,8 +66,6 @@ class OS_JavaScript : public OS_Unix {
|
||||
int64_t sync_wait_time;
|
||||
int64_t last_sync_check_time;
|
||||
|
||||
CameraServer *camera_server;
|
||||
|
||||
static EM_BOOL fullscreen_change_callback(int p_event_type, const EmscriptenFullscreenChangeEvent *p_event, void *p_user_data);
|
||||
|
||||
static EM_BOOL keydown_callback(int p_event_type, const EmscriptenKeyboardEvent *p_event, void *p_user_data);
|
||||
|
||||
Reference in New Issue
Block a user