Вопрос

I've just rebuilt my old DirectDraw based game and I'm very happy with the results! It was one of my first C++ programs in a diectx world. But I was disappointed to discover that DirectDraw is deprecated. After installing DirectX SDK July 2010 there is no ddraw.h and ddraw.lib.

My question: how to port my DirectDraw based 2D game to the recent DircetX SDK? Is there any DirectDraw replacement?

What about OpenGL? Any idea would be appreciated!

Это было полезно?

Решение

Take a look at Direct2D. A tutorial can be found here, for instance.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top