aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/lib.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:20 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:20 +0100
commit86a10c5c34157859e33b8d6ae5e51ec4159ed1cc (patch)
tree5fbf52a1f44b232ed52093128868ba531f036441 /stockton-render/src/lib.rs
parentd36efbb9d100894c8989111ae9b4700db2a8a32f (diff)
refactor(render): update gfx-hal and fix compilation
Diffstat (limited to 'stockton-render/src/lib.rs')
-rw-r--r--stockton-render/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/stockton-render/src/lib.rs b/stockton-render/src/lib.rs
index 7d97d97..31cf57e 100644
--- a/stockton-render/src/lib.rs
+++ b/stockton-render/src/lib.rs
@@ -18,10 +18,12 @@
//! You'll need to pick a backend using features. You should only pick one.
//! On Linux & Windows, you should use vulkan.
//! On Mac, you should use `metal`.
-//! If your targetting machines without Vulkan, OpenGL or dx11/dx12 is preferred.
+//! If you're targetting machines without Vulkan, OpenGL or dx11/dx12 is preferred.
//! `empty` is used for testing
#![feature(manually_drop_take)]
+extern crate core;
+
#[cfg(feature = "dx11")]
extern crate gfx_backend_dx11 as back;