diff options
author | Kostya Shishkov <[email protected]> | 2020-10-07 16:02:57 +0200 |
---|---|---|
committer | Kostya Shishkov <[email protected]> | 2020-10-07 16:02:57 +0200 |
commit | 113ac3d202140491de9a8ad1e75dd96882a8857f (patch) | |
tree | 34425f2594d8ddfd9be88a044c32d6175c7f4fad /old/sdl-patches/0002-remove-obsolete-directives.patch | |
parent | 0036a7b08b18389e0d8683fe1422ffb861dd9327 (diff) |
move experimental code to old/
Diffstat (limited to 'old/sdl-patches/0002-remove-obsolete-directives.patch')
-rw-r--r-- | old/sdl-patches/0002-remove-obsolete-directives.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/old/sdl-patches/0002-remove-obsolete-directives.patch b/old/sdl-patches/0002-remove-obsolete-directives.patch new file mode 100644 index 0000000..44c28e9 --- /dev/null +++ b/old/sdl-patches/0002-remove-obsolete-directives.patch @@ -0,0 +1,35 @@ +From 03cecd007d1b5688af83f0c2dfcc0d94f04044a2 Mon Sep 17 00:00:00 2001 +From: Kostya Shishkov <[email protected]> +Date: Fri, 22 Nov 2019 17:49:15 +0100 +Subject: [PATCH 2/4] remove obsolete directives + +--- + src/sdl/lib.rs | 2 -- + src/sdl/video.rs | 1 - + 2 files changed, 3 deletions(-) + +diff --git a/src/sdl/lib.rs b/src/sdl/lib.rs +index 0f2a910..111ccb2 100644 +--- a/src/sdl/lib.rs ++++ b/src/sdl/lib.rs +@@ -1,5 +1,3 @@ +-#![allow(raw_pointer_derive)] +- + extern crate libc; + + pub use sdl::*; +diff --git a/src/sdl/video.rs b/src/sdl/video.rs +index 64084f8..710a1d6 100644 +--- a/src/sdl/video.rs ++++ b/src/sdl/video.rs +@@ -204,7 +204,6 @@ impl Drop for Surface { + } + } + +-#[allow(raw_pointer_derive)] + #[derive(PartialEq, Copy, Clone)] + pub struct Palette { + pub raw: *mut ll::SDL_Palette +-- +1.7.9.5 + |