DirectX D3D11CreateDeviceAndSwapChain fails
Original Reporter info from Mantis: SonnyBoy
-
Reporter name: Norbert Sonnleitner
Original Reporter info from Mantis: SonnyBoy
- Reporter name: Norbert Sonnleitner
Description:
The DirectX 11 API function D3D11CreateDeviceAndSwapChain fails on
compiling with FreePascal 3.1.1 Source 15-07-2015 SVN Rev 31213 (CodeTyphon 5.4).
The return value of the Supported Feature Level and the D3D11 Device are not vaild (QueryInterface for the returned ID3D11Device fails)
Not sure if any other functions are also wrong.
Steps to reproduce:
Installed system was CT 5.3 with FreePascal 3.1.1 Source 28-04-2015 SVN Rev 30739. Program compiles and run well.
Installed system CT 5.4 with FreePascal 3.1.1 Source 15-07-2015 SVN Rev 31213. Program fails at the D3D11CreateDeviceAndSwapChain call.
Reinstalled system CT 5.3 with FreePascal 3.1.1 Source 28-04-2015 SVN Rev 30739. Program compiles and run well again.
Mantis conversion info:
- Mantis ID: 28454
- OS: Windows 7 64 bit
- Build: Source 15-07-2015 SVN Rev 31213
- Platform: Win32
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 31328 (#e0618174)