Skip to content

Commit ebe851e

Browse files
fix typo in function name
Change-Id: I629ce616aefa74821ddde9f6e9ab32e50dc8c624 Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
1 parent 7ab7d76 commit ebe851e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit_tests/os_interface/windows/mock_gdi_interface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MockGdi : public Gdi {
4141
return 0;
4242
}
4343

44-
static NTSTATUS __stdcall registerTimNotificationMock(IN D3DKMT_REGISTERTRIMNOTIFICATION *arg) {
44+
static NTSTATUS __stdcall registerTrimNotificationMock(IN D3DKMT_REGISTERTRIMNOTIFICATION *arg) {
4545
getRegisterTrimNotificationArg() = *arg;
4646
arg->Handle = reinterpret_cast<VOID *>(1);
4747
return 0;
@@ -92,7 +92,7 @@ class MockGdi : public Gdi {
9292
} else {
9393
evict = reinterpret_cast<PFND3DKMT_EVICT>(evictMock);
9494
}
95-
registerTrimNotification = reinterpret_cast<PFND3DKMT_REGISTERTRIMNOTIFICATION>(registerTimNotificationMock);
95+
registerTrimNotification = reinterpret_cast<PFND3DKMT_REGISTERTRIMNOTIFICATION>(registerTrimNotificationMock);
9696
unregisterTrimNotification = reinterpret_cast<PFND3DKMT_UNREGISTERTRIMNOTIFICATION>(unregisterTrimNotificationMock);
9797
destroyAllocation2 = reinterpret_cast<PFND3DKMT_DESTROYALLOCATION2>(destroyAllocation2Mock);
9898
waitForSynchronizationObjectFromCpu = reinterpret_cast<PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU>(waitFromCpuMock);

0 commit comments

Comments
 (0)