clang-format

This commit is contained in:
Kylie C 2025-09-05 00:58:16 -04:00
parent a7f7ea9e14
commit 6ac4693c0b
3 changed files with 7 additions and 9 deletions

View File

@ -900,7 +900,9 @@ MxResult IsleApp::SetupWindow()
#else
Uint32 flags = 0;
flags |= SDL_WINDOW_OPENGL;
if (m_fullScreen) flags |= SDL_WINDOW_FULLSCREEN;
if (m_fullScreen) {
flags |= SDL_WINDOW_FULLSCREEN;
}
window = SDL_CreateWindow(
WINDOW_TITLE,
SDL_WINDOWPOS_CENTERED,

View File

@ -78,10 +78,8 @@ BOOL MxDirect3D::Create(
nullptr
);
#else
MxVideoParam* videoParam = (MxVideoParam*) SDL_GetWindowData(
reinterpret_cast<SDL_Window*>(hWnd),
ISLE_PROP_WINDOW_CREATE_VIDEO_PARAM
);
MxVideoParam* videoParam =
(MxVideoParam*) SDL_GetWindowData(reinterpret_cast<SDL_Window*>(hWnd), ISLE_PROP_WINDOW_CREATE_VIDEO_PARAM);
#endif
#ifndef MXDIRECTX_FOR_CONFIG
assert(videoParam);

View File

@ -235,10 +235,8 @@ BOOL MxDeviceEnumerate::EnumDirectDrawCallback(LPGUID p_guid, LPSTR p_driverDesc
nullptr
);
#else
MxVideoParam* videoParam = (MxVideoParam*) SDL_GetWindowData(
reinterpret_cast<SDL_Window*>(m_hWnd),
ISLE_PROP_WINDOW_CREATE_VIDEO_PARAM
);
MxVideoParam* videoParam = (MxVideoParam*)
SDL_GetWindowData(reinterpret_cast<SDL_Window*>(m_hWnd), ISLE_PROP_WINDOW_CREATE_VIDEO_PARAM);
#endif
#ifndef MXDIRECTX_FOR_CONFIG
assert(videoParam);