Updated CreateDevice, CreateAdditionalSwapChain, CreateRenderTarget, CreateDepthStencilSurface and Reset functions to support MultiSampleQuality by querying CheckDeviceMultiSampleType. If MultiSampleType == D3DMULTISAMPLE_NONE then set MultiSampleQuality to 0. Note: this is all the functions that use MultiSampling as seen here.
Remove D3DPRESENTFLAG_LOCKABLE_BACKBUFFER flag when MultiSampleType != D3DMULTISAMPLE_NONE is detected.
Update unsupported D3DPRESENT_RATE_UNLIMITED flag to use D3DPRESENT_INTERVAL_IMMEDIATE rather than D3DPRESENT_INTERVAL_ONE to replicate more closely the d3d8 functionality.
This fixes #66 and #67.
Overview:
There are three updates in this fix:
Testing:
Tested the following games: