Fix GL context creation
Add patch from upstream to fix errors in creating GL context. See Upstream issue for details: https://github.com/jwilm/alacritty/issues/921 PR: 227846 Submitted by: Sascha Holzleiter MFH: 2018Q2
This commit is contained in:
parent
f0c2038b3f
commit
e88f6b87ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468774
2 changed files with 11 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= alacritty
|
||||
PORTVERSION= g20180126
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= zeising@FreeBSD.org
|
||||
|
|
10
x11/alacritty/files/patch-src_window.rs
Normal file
10
x11/alacritty/files/patch-src_window.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/window.rs.orig 2018-04-23 07:37:25 UTC
|
||||
+++ src/window.rs
|
||||
@@ -200,6 +200,7 @@ impl Window {
|
||||
.with_transparency(true)
|
||||
.with_decorations(window_config.decorations());
|
||||
let context = ContextBuilder::new()
|
||||
+ .with_srgb(true)
|
||||
.with_vsync(true);
|
||||
let window = ::glutin::GlWindow::new(window, context, &event_loop)?;
|
||||
window.show();
|
Loading…
Reference in a new issue