Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
webmsgr committed Jul 16, 2023
1 parent 309d8a7 commit e2a944c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mr_beast/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use std::{num::NonZeroU32};
use std::num::NonZeroU32;

use rodio::{OutputStream, Source};
use winit::{
event_loop::{EventLoop},
window::WindowBuilder, dpi::LogicalSize,
event_loop::EventLoop,
window::{WindowBuilder, WindowButtons}, dpi::LogicalSize,
};
use game_loop::game_loop;
use beast_assets::*;
Expand All @@ -15,7 +15,7 @@ fn main() {
println!("Loaded!");
let event_loop = EventLoop::new();
let size = LogicalSize::new(VIDEO.0.0, VIDEO.0.1);
let window = WindowBuilder::new().with_inner_size(size).with_resizable(false).with_title("mrbeast.exe").build(&event_loop).unwrap();
let window = WindowBuilder::new().with_inner_size(size).with_resizable(false).with_enabled_buttons(WindowButtons::empty()).with_title("mrbeast.exe").build(&event_loop).unwrap();
let context = unsafe { softbuffer::Context::new(&window) }.unwrap();
let mut surface = unsafe { softbuffer::Surface::new(&context, &window) }.unwrap();
let frame: usize = 0;
Expand Down

0 comments on commit e2a944c

Please sign in to comment.