Skip to content

Commit

Permalink
Report depth buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
unlimitedbacon committed Aug 17, 2018
1 parent b32bfe4 commit 0af0dff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::fs::File;
use std::{io, thread, time};
use config::Config;
use cgmath::EuclideanSpace;
use glium::{glutin, Surface};
use glium::{glutin, Surface, CapabilitiesSource};
use mesh::Mesh;

// TODO: Move this stuff to config module
Expand Down Expand Up @@ -80,7 +80,8 @@ pub fn run(config: &Config) -> Result<(), Box<Error>> {
info!("GLSL Version: {:?}", display.get_supported_glsl_version());
info!("Vendor: {}", display.get_opengl_vendor_string());
info!("Renderer {}", display.get_opengl_renderer_string());
info!("Free GPU Mem: {:?}\n", display.get_free_video_memory());
info!("Free GPU Mem: {:?}", display.get_free_video_memory());
info!("Depth Bits: {:?}\n", display.get_capabilities().depth_bits);


let params = glium::DrawParameters {
Expand Down

0 comments on commit 0af0dff

Please sign in to comment.