From 111f967d8c8c3b89c7db2f2985c63f226adcfb0c Mon Sep 17 00:00:00 2001 From: TheRealDust <73678906+TheRealDust@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:30:29 +1000 Subject: [PATCH 1/2] Added feature required comment Added required sdl2 feature `raw-window-handle` as a comment on the example. --- examples/raw-window-handle-with-wgpu/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/raw-window-handle-with-wgpu/main.rs b/examples/raw-window-handle-with-wgpu/main.rs index 206f57f01b..d48bd22daf 100644 --- a/examples/raw-window-handle-with-wgpu/main.rs +++ b/examples/raw-window-handle-with-wgpu/main.rs @@ -1,4 +1,5 @@ /// Minimal example for getting sdl2 and wgpu working together with raw-window-handle. +/// This example requires the sdl2 `raw-window-handle` feature extern crate pollster; extern crate sdl2; extern crate wgpu; From 9787e33c90fd366fa72a3f13bc5e81a3b6fac677 Mon Sep 17 00:00:00 2001 From: TheRealDust <73678906+TheRealDust@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:31:54 +1000 Subject: [PATCH 2/2] Grammar Required grammar correction. --- examples/raw-window-handle-with-wgpu/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/raw-window-handle-with-wgpu/main.rs b/examples/raw-window-handle-with-wgpu/main.rs index d48bd22daf..5b2fa6b820 100644 --- a/examples/raw-window-handle-with-wgpu/main.rs +++ b/examples/raw-window-handle-with-wgpu/main.rs @@ -1,5 +1,5 @@ /// Minimal example for getting sdl2 and wgpu working together with raw-window-handle. -/// This example requires the sdl2 `raw-window-handle` feature +/// This example requires the sdl2 `raw-window-handle` feature. extern crate pollster; extern crate sdl2; extern crate wgpu;