From 4f2ef507838a8749b0f93bffcf53f166a8c3ba25 Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Wed, 8 Mar 2017 16:24:01 +0100 Subject: [PATCH] remove multisampling (will add it back later) --- pixelgl/window.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pixelgl/window.go b/pixelgl/window.go index a76f8a7..731fee2 100644 --- a/pixelgl/window.go +++ b/pixelgl/window.go @@ -46,10 +46,6 @@ type WindowConfig struct { // VSync (vertical synchronization) synchronizes window's framerate with the framerate of // the monitor. VSync bool - - // Number of samples for multi-sample anti-aliasing (edge-smoothing). Usual values are 0, 2, - // 4, 8 (powers of 2 and not much more than this). - MSAASamples int } // Window is a window handler. Use this type to manipulate a window (input, drawing, ...). @@ -99,7 +95,6 @@ func NewWindow(cfg WindowConfig) (*Window, error) { glfw.WindowHint(glfw.Decorated, bool2int[!cfg.Undecorated]) glfw.WindowHint(glfw.Focused, bool2int[!cfg.Unfocused]) glfw.WindowHint(glfw.Maximized, bool2int[cfg.Maximized]) - glfw.WindowHint(glfw.Samples, cfg.MSAASamples) var share *glfw.Window if currentWindow != nil { -- GitLab