Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pp.hDeviceWindow = hWnd;
- pp.Windowed = true;
- pp.BackBufferWidth = s.x;
- pp.BackBufferHeight = s.y;
- pp.BackBufferCount = 1;
- pp.EnableAutoDepthStencil = true;
- pp.AutoDepthStencilFormat = D3DFMT_D16;
- pp.SwapEffect = D3DSWAPEFFECT_FLIP;
- pp.BackBufferFormat = D3DFMT_R5G6B5;
- m_pDevice->Reset(&pp);
- SetWindowPos(g_Window, HWND_TOPMOST, 0, 0, 521, 300, SWP_NOMOVE);
Add Comment
Please, Sign In to add comment