Fixed building in Visual Studio.

D3D backend had an improperly defined function.