mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Merge pull request #53405 from winterpixelgames/PR-more-error-logging-release
This commit is contained in:
commit
3479aaa369
3 changed files with 88 additions and 99 deletions
|
|
@ -38,7 +38,6 @@
|
|||
|
||||
#include <avrt.h>
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
static String format_error_message(DWORD id) {
|
||||
LPWSTR messageBuffer = nullptr;
|
||||
size_t size = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
|
||||
|
|
@ -50,7 +49,6 @@ static String format_error_message(DWORD id) {
|
|||
|
||||
return msg;
|
||||
}
|
||||
#endif // DEBUG_ENABLED
|
||||
|
||||
bool DisplayServerWindows::has_feature(Feature p_feature) const {
|
||||
switch (p_feature) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue