first compilation for Direct3D. Don't depend on any OpenGL library