Skip to content

Commit

Permalink
MFH: r468774
Browse files Browse the repository at this point in the history
Fix GL context creation

Add patch from upstream to fix errors in creating GL context.
See Upstream issue for details:
alacritty/alacritty#921

PR:		227846
Submitted by:	Sascha Holzleiter

Approved by:	ports-secteam (riggs)
  • Loading branch information
zeising committed May 5, 2018
1 parent bfcb926 commit c224fe7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x11/alacritty/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= alacritty
PORTVERSION= g20180126
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11

MAINTAINER= zeising@FreeBSD.org
Expand Down
10 changes: 10 additions & 0 deletions x11/alacritty/files/patch-src_window.rs
Original file line number Diff line number Diff line change
@@ -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();

0 comments on commit c224fe7

Please sign in to comment.