refactor: remove borders from window

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2026-01-19 01:42:41 -05:00
parent b416a517e4
commit efb463d62d
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

View File

@ -1578,7 +1578,7 @@ int app_run( int (*app_proc)( app_t*, void* ), void* user_data, void* memctx, vo
wc.hInstance = app->hinstance; wc.hIcon = app->icon; wc.hCursor = app->current_pointer;
wc.hbrBackground = (HBRUSH) GetStockObject( BLACK_BRUSH ); wc.hIconSm = app->icon;
RegisterClassEx( &wc );
app->hwnd = CreateWindowEx( APP_WINDOWED_WS_EX_STYLE, wc.lpszClassName, 0, APP_WINDOWED_WS_STYLE, app->windowed_x, app->windowed_y,
app->hwnd = CreateWindowEx( 0, wc.lpszClassName, 0, WS_POPUP, app->windowed_x, app->windowed_y,
winrect.right - winrect.left, winrect.bottom - winrect.top, (HWND) 0, (HMENU) 0, app->hinstance, 0 );
if( !app->hwnd ) { app_log( app, APP_LOG_LEVEL_ERROR, "Failed to create window." ); goto init_failed; }
app->hdc = GetDC( app->hwnd );