summaryrefslogtreecommitdiffstats
path: root/sdl-patches/0002-remove-obsolete-directives.patch
blob: 44c28e9c688169114c7730da2c7d12ee0ec7f521 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 03cecd007d1b5688af83f0c2dfcc0d94f04044a2 Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
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