소스 검색

disable instrumentation (should be done at haxe level)

ncannasse 7 년 전
부모
커밋
2cb9223df3
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      libs/directx/directx.cpp

+ 0 - 3
libs/directx/directx.cpp

@@ -73,9 +73,6 @@ HL_PRIM dx_driver *HL_NAME(create)( HWND window, int format, int flags, int rest
 #endif
 	desc.OutputWindow = window;
 	if( restrictLevel >= maxLevels ) restrictLevel = maxLevels - 1;
-#if _DEBUG
-	flags |= D3D11_CREATE_DEVICE_INSTRUMENTED;
-#endif
 	d->init_flags = flags;
 	result = D3D11CreateDeviceAndSwapChain(NULL,D3D_DRIVER_TYPE_HARDWARE,NULL,flags,levels + restrictLevel,maxLevels - restrictLevel,D3D11_SDK_VERSION,&desc,&d->swapchain,&d->device,&d->feature,&d->context);