mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
fix compile warnings
This commit is contained in:
@@ -10,6 +10,7 @@ mod ll {
|
||||
/* automatically generated by rust-bindgen */
|
||||
|
||||
use libc::*;
|
||||
#[repr(C)]
|
||||
pub struct FPSmanager {
|
||||
pub framecount: uint32_t,
|
||||
pub rateticks: c_float,
|
||||
|
||||
@@ -457,7 +457,7 @@ impl DrawRenderer for Renderer {
|
||||
if ret == 0 { Ok(()) }
|
||||
else { Err(get_error()) }
|
||||
}
|
||||
#[allow(unused_variable)]
|
||||
#[allow(unused_variables)]
|
||||
fn textured_polygon<C: ToColor>(&self, vx: &[i16], vy: &[i16], texture: &Surface, texture_dx: i16, texture_dy: i16, color: C) -> SdlResult<()> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user