diag(windows-nui): log NuiImageFrameGetDepthImagePixelFrameTexture + LockRect to find pixel-access path
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s

This commit is contained in:
kinect-bot committed 2026-11-25 16:11:04 -05:00
1 parent 7314effff6
commit df737fbe80
2 files changed
+15

No files matched your search

+7
View File
@@ -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;
}