summaryrefslogtreecommitdiff
path: root/video/KMDOD/bdd_ddi.cxx
diff options
context:
space:
mode:
authorDavid Spruill <[email protected]>2026-07-20 18:02:42 -0400
committerGitHub <[email protected]>2026-07-20 18:02:42 -0400
commit511c6abeb6fa009a3f9c39cd099d512e2915ca42 (patch)
tree7d8b5a04e58d567fb0d3a28f320e305391f9628a /video/KMDOD/bdd_ddi.cxx
parent15640356a5a6eeafefff403f6d287821213635cd (diff)
parent47e616d951b7a5aa379d7727d394d9ddc08ebd3b (diff)
Merge pull request #1343 from Spruill-1/user/daspr/kmodsamplefixdevelop
Correct the buggy KMOD sample
Diffstat (limited to 'video/KMDOD/bdd_ddi.cxx')
-rw-r--r--video/KMDOD/bdd_ddi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/KMDOD/bdd_ddi.cxx b/video/KMDOD/bdd_ddi.cxx
index 5a53a3be..f5f51cf8 100644
--- a/video/KMDOD/bdd_ddi.cxx
+++ b/video/KMDOD/bdd_ddi.cxx
@@ -103,7 +103,7 @@ BddDdiAddDevice(
}
*ppDeviceContext = NULL;
- BASIC_DISPLAY_DRIVER* pBDD = new(NonPagedPoolNx) BASIC_DISPLAY_DRIVER(pPhysicalDeviceObject);
+ BASIC_DISPLAY_DRIVER* pBDD = new(BDD_POOL_TYPE::NonPaged) BASIC_DISPLAY_DRIVER(pPhysicalDeviceObject);
if (pBDD == NULL)
{
BDD_LOG_LOW_RESOURCE0("pBDD failed to be allocated");