Browse Source

disable instrumentation (should be done at haxe level)

ncannasse 7 years ago
parent
commit
2cb9223df3
1 changed files with 0 additions and 3 deletions
  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);