Revert "Disable depth and stencil buffers"

This reverts commit 3475e44987.
This commit is contained in:
Christian Duerr 2019-10-16 02:53:36 +02:00 committed by GitHub
parent 1538f09e0c
commit 28cf90d130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View File

@ -71,7 +71,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Crash when resuming after suspension
- Crash when trying to start on X11 with a Wayland compositor running
- Crash with a virtual display connected on X11
- GPU memory usage has been decreased by disabling allocation of depth and stencil buffers
- Use `\` instead of `\\` as path separators on Windows for logging config file location
### Removed

View File

@ -117,8 +117,6 @@ fn create_gl_window(
let windowed_context = ContextBuilder::new()
.with_srgb(srgb)
.with_vsync(true)
.with_depth_buffer(0)
.with_stencil_buffer(0)
.with_hardware_acceleration(None)
.build_windowed(window, event_loop)?;