Warning fixes for OS X.
This commit is contained in:
parent
3e11e5ef69
commit
77b3743117
10 changed files with 17 additions and 19 deletions
|
|
@ -69,8 +69,6 @@ pub fn load(window: &glutin::Window) -> Context {
|
|||
|
||||
impl Context {
|
||||
pub fn draw_frame(&self, color: (f32, f32, f32, f32)) {
|
||||
use std::mem;
|
||||
|
||||
unsafe {
|
||||
self.gl.ClearColor(color.0, color.1, color.2, color.3);
|
||||
self.gl.Clear(gl::COLOR_BUFFER_BIT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue