From 3d5684458ba9243df3c8431501a3019fd4449023 Mon Sep 17 00:00:00 2001 From: manen <49951816+manen@users.noreply.github.com> Date: Thu, 30 Jan 2025 22:06:52 +0100 Subject: [PATCH 1/2] impl `DerefMut` for RaylibDrawHandle --- raylib/src/core/drawing.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/raylib/src/core/drawing.rs b/raylib/src/core/drawing.rs index a73514d4..381f115f 100644 --- a/raylib/src/core/drawing.rs +++ b/raylib/src/core/drawing.rs @@ -44,6 +44,11 @@ impl<'a> std::ops::Deref for RaylibDrawHandle<'a> { &self.0 } } +impl<'a> std::ops::DerefMut for RaylibDrawHandle<'a> { + fn deref_mut(&mut self) -> &mut Self::Target { + &mut self.0 + } +} impl<'a> RaylibDraw for RaylibDrawHandle<'a> {} From cb1c2931d1d7eca9c6a88f5b1d798e8801dc9208 Mon Sep 17 00:00:00 2001 From: manen <49951816+manen@users.noreply.github.com> Date: Mon, 21 Jul 2025 23:54:40 +0200 Subject: [PATCH 2/2] goodbye raylib-rs fork you were weirdly useful --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 63c0a566..d1b25a43 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,12 @@ Though this binding tries to stay close to the simple C API, it makes some chang +# **!!unmaintained!!** + +this repository contains a fork of an old version of [`raylib-rs`](https://github.com/raylib-rs/raylib-rs). as old problems got fixed, i no longer need to use this fork in my new projects, but i will be keeping this repository up to make sure old versions can be recompiled. use https://github.com/raylib-rs/raylib-rs + +--- + Most development happens over at: https://github.com/raylib-rs/raylib-rs