[vendor:directx/dxgi] Rename debug_interface_init to InitDebugInterface

This commit is contained in:
ftphikari
2023-07-13 17:41:21 +03:00
parent 7990566f6b
commit ab7652010b
+2 -2
View File
@@ -145,8 +145,8 @@ GET_DEBUG_INTERFACE_PROC :: #type proc "stdcall" (riid: ^IID, ppDebug: ^rawptr)
GetDebugInterface: GET_DEBUG_INTERFACE_PROC GetDebugInterface: GET_DEBUG_INTERFACE_PROC
// Call this to start using GetDebugInterface // Helper function to initialize GetDebugInterface
debug_interface_init :: proc() -> bool { InitDebugInterface :: proc() -> bool {
debug_lib := win32.LoadLibraryW(win32.L("dxgidebug.dll")) debug_lib := win32.LoadLibraryW(win32.L("dxgidebug.dll"))
if debug_lib == nil { if debug_lib == nil {
return false return false