Skip to content

Commit 6c3fcf9

Browse files
committed
Remove unnecessary comments and clean up main module documentation
1 parent 1683bef commit 6c3fcf9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
//! This is the main module of the "random-shader-window" project.
2-
//!
3-
//! It contains the main entry point of the application and the `App` struct, which represents the application itself.
4-
//! The `App` struct handles window setup, rendering, and event handling.
5-
//! I'm just using this as a playground to learn how to use wgsl, so it's not really meant to be a useful application.
6-
//!
7-
//! Alot of the render pipeline stuff is using default where possible to keep things simple so
8-
//! I can focus on the shader stuff. It'll probably be a good idea to go back and tweak some of that stuff later
9-
//! to get it to work on other platforms, but I'm not really worried about that right now.
10-
111
use winit::{
122
event::{Event, WindowEvent},
133
event_loop::EventLoop,
@@ -51,8 +41,6 @@ async fn main() {
5141
x: position.x as f32,
5242
y: position.y as f32,
5343
});
54-
// HACK: Force a redraw, because I can't figure out how to cleanly call
55-
// [window.request_redraw()] without the borrow checker complaining.
5644
app.render();
5745
}
5846
WindowEvent::CloseRequested => {

0 commit comments

Comments
 (0)