inline bool D3Dで、BeginSceneを実行したかどうかを取得する(void) {
    return d3ddevice->BeginScene() == D3DERR_INVALIDCALL
}
しかしなんでもないときはBeginSceneされてしまうという罠