move experimental code to old/
[nihav-player.git] / old / sdl-patches / 0002-remove-obsolete-directives.patch
CommitLineData
b019e511
KS
1From 03cecd007d1b5688af83f0c2dfcc0d94f04044a2 Mon Sep 17 00:00:00 2001
2From: Kostya Shishkov <kostya.shishkov@gmail.com>
3Date: Fri, 22 Nov 2019 17:49:15 +0100
4Subject: [PATCH 2/4] remove obsolete directives
5
6---
7 src/sdl/lib.rs | 2 --
8 src/sdl/video.rs | 1 -
9 2 files changed, 3 deletions(-)
10
11diff --git a/src/sdl/lib.rs b/src/sdl/lib.rs
12index 0f2a910..111ccb2 100644
13--- a/src/sdl/lib.rs
14+++ b/src/sdl/lib.rs
15@@ -1,5 +1,3 @@
16-#![allow(raw_pointer_derive)]
17-
18 extern crate libc;
19
20 pub use sdl::*;
21diff --git a/src/sdl/video.rs b/src/sdl/video.rs
22index 64084f8..710a1d6 100644
23--- a/src/sdl/video.rs
24+++ b/src/sdl/video.rs
25@@ -204,7 +204,6 @@ impl Drop for Surface {
26 }
27 }
28
29-#[allow(raw_pointer_derive)]
30 #[derive(PartialEq, Copy, Clone)]
31 pub struct Palette {
32 pub raw: *mut ll::SDL_Palette
33--
341.7.9.5
35