git test hook

This commit is contained in:
Piotr 2020-09-26 00:08:12 +02:00
parent 54b6938c30
commit a3b40c75dc
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,7 @@
use gl;
use image2::{io, ImagePtr, Rgb, Rgba};
use std::os::raw::c_void;
use image2::image::Image;
pub unsafe fn load_texture(path: &str, file_format: &str) -> u32 {
println!(
@ -8,7 +9,6 @@ pub unsafe fn load_texture(path: &str, file_format: &str) -> u32 {
path, file_format
);
let mut id = 0;
use image2::image::Image;
gl::GenTextures(1, &mut id);
let (data, dim, format) = match file_format {