I have been trying to run a sample Directx-11 code from this website:tutorial 2. (source code download at the end).
All I get when I try to run the program is a black screen.
System Configuration:
- Windows 7 64 bit (SP1)
- Intel Core i5 M520 @ 2.4Ghz
- RAM: 4GB
- Intel HD Graphics on core i5 (latest driver )
- Lenovo Think pad X201
IDE:
- Microsoft Visual Studio 2013
- Microsoft Visual Studio 2010 Express with Service Pack.
- I also installed DirectX 9 SDK from here: DirectX 9 SDK June 2010
Diagnostics:
- I ran dxdiag and everything seems to be OK. (DirectDraw and Direct3D are enabled).
- I tried changing the refresh rate from 50Hz to 60Hz. (Control Panel->Appearance & Personalization->Display->Screen Resolution->Advanced Setting)
- Could not change the hardware acceleration. "Change Settings" option was diabled under "Troubleshooting" tab in the above menu.
- System Settings-->Performance Options-->"Let Windows Choose What's Best For My Computer"
How can I get this tutorial to run? My goal is to run any program in DirectX-11 on my laptop. I am using this to learn DirectX-11. Please let me know if I missed out some detail.
Thank you very much!
The tutorial only create a framework based on DirectX 11, there is no graphics output, so a black window is the expected result.