(XDK D3D) Prevent unitialized variables