Browse Source

[vendor:directx/dxgi] Rename `debug_interface_init` to `InitDebugInterface`

ftphikari 2 years ago
parent
commit
ab7652010b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vendor/directx/dxgi/dxgidebug.odin

+ 2 - 2
vendor/directx/dxgi/dxgidebug.odin

@@ -145,8 +145,8 @@ GET_DEBUG_INTERFACE_PROC :: #type proc "stdcall" (riid: ^IID, ppDebug: ^rawptr)
 
 GetDebugInterface: GET_DEBUG_INTERFACE_PROC
 
-// Call this to start using GetDebugInterface
-debug_interface_init :: proc() -> bool {
+// Helper function to initialize GetDebugInterface
+InitDebugInterface :: proc() -> bool {
 	debug_lib := win32.LoadLibraryW(win32.L("dxgidebug.dll"))
 	if debug_lib == nil {
 		return false