Created by: fedan
Rename hw, m_hwnd to hWnd parameter function. Moved CHWCaps from OGL,DX10 and DX11 defines to all. Use in R4 IDXGIAdapter from CreateD3D() step instead of default adapter. Small fix R3/R4 compile shader name calculation. Not tested.