resetting getter not const (due to poor lib design)

This commit is contained in:
Clément Le Bihan
2021-05-21 16:30:53 +02:00
parent 688b5d992d
commit 8323639e4f
6 changed files with 5 additions and 6 deletions

View File

@@ -143,7 +143,7 @@ void RAY::Window::draw(const Mesh &mesh, const Material &material, const Matrix
DrawMesh(mesh, material, transform);
}
void RAY::Window::setIcon(const RAY::Image &img)
void RAY::Window::setIcon(RAY::Image &img)
{
SetWindowIcon(img.getImage());
}