mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-02 13:29:14 +01:00
[d3d9] Add hidden exports for registering annotations
Adds DXVK_RegisterAnnotation at ordinal 28257 and DXVK_UnRegisterAnnotation at ordinal 28258.
This commit is contained in:
parent
787a979514
commit
937a60c882
@ -18,5 +18,8 @@ EXPORTS
|
||||
|
||||
Direct3D9EnableMaximizedWindowedModeShim @36
|
||||
|
||||
Direct3DCreate9 @37
|
||||
Direct3DCreate9Ex @38
|
||||
Direct3DCreate9 @ 37
|
||||
Direct3DCreate9Ex @ 38
|
||||
|
||||
DXVK_RegisterAnnotation @ 28257 NONAME
|
||||
DXVK_UnRegisterAnnotation @ 28258 NONAME
|
||||
|
@ -90,4 +90,12 @@ extern "C" {
|
||||
return 0;
|
||||
}
|
||||
|
||||
DLLEXPORT void __stdcall DXVK_RegisterAnnotation(IDXVKUserDefinedAnnotation* annotation) {
|
||||
dxvk::D3D9GlobalAnnotationList::Instance().RegisterAnnotator(annotation);
|
||||
}
|
||||
|
||||
DLLEXPORT void __stdcall DXVK_UnRegisterAnnotation(IDXVKUserDefinedAnnotation* annotation) {
|
||||
dxvk::D3D9GlobalAnnotationList::Instance().UnregisterAnnotator(annotation);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user