undo unicode
This commit is contained in:
parent
c82802db56
commit
87097abf54
4
src/external/RGFW.h
vendored
4
src/external/RGFW.h
vendored
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user