undo unicode

This commit is contained in:
Saksham Goyal 2025-10-03 13:02:29 -04:00
parent c82802db56
commit 87097abf54
No known key found for this signature in database
GPG Key ID: 287D96BB5977A168
3 changed files with 4 additions and 5 deletions

4
src/external/RGFW.h vendored
View File

@ -7727,8 +7727,8 @@ RGFW_bool RGFW_monitor_requestMode(RGFW_monitor mon, RGFW_monitorMode mode, RGFW
dm.dmBitsPerPel = (DWORD)(mode.red + mode.green + mode.blue);
}
if (ChangeDisplaySettingsEx((LPCWSTR)dd.DeviceName, (DEVMODEW *)&dm, NULL, CDS_TEST, NULL) == DISP_CHANGE_SUCCESSFUL) {
if (ChangeDisplaySettingsEx((LPCWSTR)dd.DeviceName, (DEVMODEW *)&dm, NULL, CDS_UPDATEREGISTRY, NULL) == DISP_CHANGE_SUCCESSFUL)
if (ChangeDisplaySettingsExA((LPCSTR)dd.DeviceName, (DEVMODE *)&dm, NULL, CDS_TEST, NULL) == DISP_CHANGE_SUCCESSFUL) {
if (ChangeDisplaySettingsExA((LPCSTR)dd.DeviceName, (DEVMODE *)&dm, NULL, CDS_UPDATEREGISTRY, NULL) == DISP_CHANGE_SUCCESSFUL)
return RGFW_TRUE;
return RGFW_FALSE;
} else return RGFW_FALSE;

View File

@ -553,7 +553,6 @@ const char *TextFormat(const char *text, ...); // Formatting of text with variab
// #endif
#endif // SUPPORT_CLIPBOARD_IMAGE
#define UNICODE
// Include platform-specific submodules
#if defined(PLATFORM_DESKTOP_GLFW)
#include "platforms/rcore_desktop_glfw.c"

View File

@ -5209,7 +5209,7 @@ static Image LoadImageFromCgltfImage(cgltf_image *cgltfImage, const char *texPat
void *data = NULL;
#ifdef __cplusplus
cgltf_options options = {DEFINIT};
cgltf_options options = {};
#else
cgltf_options options = { 0 };
#endif
@ -6246,7 +6246,7 @@ static ModelAnimation *LoadModelAnimationsGLTF(const char *fileName, int *animCo
// glTF data loading
#ifdef __cplusplus
cgltf_options options = {DEFINIT};
cgltf_options options = {};
#else
cgltf_options options = { 0 };
#endif