mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
fixing compilation issues
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#ifndef __MLX_VULKAN_LOADER__
|
||||
#define __MLX_VULKAN_LOADER__
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <mlx_profile.h>
|
||||
|
||||
#ifdef MLX_PLAT_WINDOWS
|
||||
typedef const char* LPCSTR;
|
||||
typedef struct HINSTANCE__* HINSTANCE;
|
||||
typedef HINSTANCE HMODULE;
|
||||
@@ -31,7 +33,7 @@ namespace mlx
|
||||
void LoadDeviceFunctions(void* context, PFN_vkVoidFunction (*load)(void*, const char*)) noexcept;
|
||||
|
||||
private:
|
||||
#ifdef _WIN32
|
||||
#ifdef MLX_PLAT_WINDOWS
|
||||
HMODULE p_module = nullptr;
|
||||
#else
|
||||
Handle p_module = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user