diff --git a/src/joystick.rs b/src/joystick.rs index d93cd353..d547e289 100644 --- a/src/joystick.rs +++ b/src/joystick.rs @@ -35,7 +35,6 @@ use crate::hints::*; use crate::*; /// The `SDL_Joystick` type is an opaque structure. -#[derive(Debug)] #[repr(transparent)] pub struct SDL_Joystick(c_void); diff --git a/src/renderer.rs b/src/renderer.rs index bd5b7ed3..ab1c4962 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -128,12 +128,10 @@ pub const SDL_FLIP_HORIZONTAL: SDL_RendererFlip = SDL_RendererFlip(0x00000001); pub const SDL_FLIP_VERTICAL: SDL_RendererFlip = SDL_RendererFlip(0x00000002); /// An opaque structure representing rendering state. -#[derive(Debug)] #[repr(transparent)] pub struct SDL_Renderer(c_void); /// An opaque, efficient, driver-specific representation of pixel data. -#[derive(Debug)] #[repr(transparent)] pub struct SDL_Texture(c_void);