Enable Vulkan
This commit is contained in:
parent
c75e2ded4c
commit
3f2ba9285d
|
@ -148,6 +148,8 @@ impl Game {
|
||||||
let window = video_subsystem
|
let window = video_subsystem
|
||||||
.window(&self.title, self.width, self.height)
|
.window(&self.title, self.width, self.height)
|
||||||
.position_centered()
|
.position_centered()
|
||||||
|
// .opengl()
|
||||||
|
.vulkan()
|
||||||
.build()?;
|
.build()?;
|
||||||
|
|
||||||
let mut canvas = window.into_canvas().build()?;
|
let mut canvas = window.into_canvas().build()?;
|
||||||
|
|
Loading…
Reference in a new issue