diag(windows-nui): log NuiImageFrameGetDepthImagePixelFrameTexture + LockRect to find pixel-access path
This commit is contained in:
1 parent
7314effff6
commit
df737fbe80
2 files changed
+15
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#include "sensor_com.h"
|
||||
|
||||
#include "coordmap.h"
|
||||
#include "shim_log.h"
|
||||
|
||||
namespace nui_shim {
|
||||
|
||||
@@ -207,6 +208,12 @@ NuiSensorCom::NuiImageFrameGetDepthImagePixelFrameTexture(
|
||||
if (ppFrameTexture == nullptr || pImageFrame == nullptr) {
|
||||
return E_POINTER;
|
||||
}
|
||||
static unsigned dpx = 0;
|
||||
if (dpx < 6) {
|
||||
ShimLog("NuiImageFrameGetDepthImagePixelFrameTexture call#%u (game wants extended depth)",
|
||||
dpx);
|
||||
}
|
||||
++dpx;
|
||||
if (pNearMode != nullptr) {
|
||||
*pNearMode = FALSE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user