Guest User

Untitled

a guest
Feb 17th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. pp.hDeviceWindow = hWnd;
  2. pp.Windowed = true;
  3. pp.BackBufferWidth = s.x;
  4. pp.BackBufferHeight = s.y;
  5. pp.BackBufferCount = 1;
  6. pp.EnableAutoDepthStencil = true;
  7. pp.AutoDepthStencilFormat = D3DFMT_D16;
  8. pp.SwapEffect = D3DSWAPEFFECT_FLIP;
  9. pp.BackBufferFormat = D3DFMT_R5G6B5;
  10. m_pDevice->Reset(&pp);
  11.  
  12. SetWindowPos(g_Window, HWND_TOPMOST, 0, 0, 521, 300, SWP_NOMOVE);
Add Comment
Please, Sign In to add comment