Hey man!
In the create device call, the behavior flags parameter should be "D3DCREATE_SOFTWARE_VERTEXPROCESSING" instead of "D3DCREATE_HARDWARE_VERTEXPROCESSING"
I think that should help.
Anton
UGPDX Demo 2
You'll normally want to use hardware, but you should check if it's avaible instead of hardcoding it in (you should always do this).
That shouldn't affect the creation of the window though.
Are you sure you've created a Windows project? You may have clicked console and somehow the window gets created anyway, albeit briefly.
It's been awhile since I've used Dev-C++ (at least with Windows apps anyway) so I'm not 100% on that one.
Are you sure you've created a Windows project? You may have clicked console and somehow the window gets created anyway, albeit briefly.
It's been awhile since I've used Dev-C++ (at least with Windows apps anyway) so I'm not 100% on that one.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement