fixing windows dll issues

This commit is contained in:
kbz_8
2023-12-08 23:33:26 +01:00
parent 5dcc2045d6
commit d16af1c4a8
43 changed files with 121 additions and 110 deletions

View File

@@ -25,7 +25,7 @@
namespace mlx
{
class MLX_API Texture : public Image
class Texture : public Image
{
public:
Texture() = default;
@@ -62,9 +62,9 @@ namespace mlx
bool _has_been_updated = false;
};
MLX_API Texture stbTextureLoad(std::filesystem::path file, int* w, int* h);
Texture stbTextureLoad(std::filesystem::path file, int* w, int* h);
struct MLX_API TextureRenderData
struct TextureRenderData
{
Texture* texture;
std::size_t hash = 0;
@@ -79,7 +79,7 @@ namespace mlx
namespace std
{
template <>
struct MLX_API hash<mlx::TextureRenderData>
struct hash<mlx::TextureRenderData>
{
size_t operator()(const mlx::TextureRenderData& td) const noexcept
{