refactor: remove borders from window
This commit is contained in:
parent
b416a517e4
commit
efb463d62d
@ -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 );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user