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 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> {}