mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Remove duplicate ERR_PRINT macro.
This commit is contained in:
parent
2b1084fab3
commit
5af3b4ca27
76 changed files with 173 additions and 178 deletions
|
|
@ -980,7 +980,7 @@ Error OS_JavaScript::initialize(const VideoMode &p_desired, int p_video_driver,
|
|||
EMSCRIPTEN_RESULT result;
|
||||
#define EM_CHECK(ev) \
|
||||
if (result != EMSCRIPTEN_RESULT_SUCCESS) \
|
||||
ERR_PRINTS("Error while setting " #ev " callback: Code " + itos(result))
|
||||
ERR_PRINT("Error while setting " #ev " callback: Code " + itos(result))
|
||||
#define SET_EM_CALLBACK(target, ev, cb) \
|
||||
result = emscripten_set_##ev##_callback(target, NULL, true, &cb); \
|
||||
EM_CHECK(ev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue