Skip to content

Commit

Permalink
BLUGA-GRAPHICS: try
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 1, 2023
1 parent 76a5e85 commit dbbb972
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ namespace Raylib {
return GetClipboardText();
}

void Window::setWindowIcon(RayImage icon)
void Window::setWindowIcon(std::unique_ptr<RayImage> icon)
{
::Image image;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ namespace Raylib {

static std::string getClipboardText();

static void setWindowIcon(RayImage &icon):
static void setWindowIcon(std::unique_ptr<RayImage> icon):
};

// Text functions and classes
Expand Down
2 changes: 1 addition & 1 deletion libs/B-luga-graphics/src/RaylibImpl/Graphics/Graphics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace Raylib {
public:
SpriteImpl(const std::string &fileName, float width, float height, std::size_t id);

SpriteImpl(RayImage image, float width, float height) : _texture(), _width(width), _height(height);
SpriteImpl(RayImage image, float width, float height);

void unloadSprite() override;

Expand Down

0 comments on commit dbbb972

Please sign in to comment.