Switch shader texture usage from sampler2D to texture2D plus sampler (fixes #1)

This commit is contained in:
Keavon Chambers
2020-07-11 19:01:48 -07:00
parent 58992ba8ad
commit 642c7ffd00
8 changed files with 70 additions and 6 deletions
+4
View File
@@ -20,6 +20,10 @@ use winit::event_loop::EventLoop;
use winit::window::WindowBuilder;
fn main() {
// Display graphics API errors (requires Vulkan SDK is installed)
#[cfg(feature = "debug")]
env_logger::init();
// Handles all window events, user input, and redraws
let event_loop = EventLoop::new();