From 5464be873fcd6477b264a30f756ac272424e1bb5 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 14 Aug 2009 15:32:38 +0000 Subject: [PATCH] Removed duplicate GetConfigAttrib calls. --- Source/OpenTK/Platform/Egl/EglGraphicsMode.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/OpenTK/Platform/Egl/EglGraphicsMode.cs b/Source/OpenTK/Platform/Egl/EglGraphicsMode.cs index 4170d4df..183b8b78 100644 --- a/Source/OpenTK/Platform/Egl/EglGraphicsMode.cs +++ b/Source/OpenTK/Platform/Egl/EglGraphicsMode.cs @@ -75,8 +75,6 @@ namespace OpenTK.Platform.Egl int d, s; Egl.GetConfigAttrib(display, active_config, Egl.DEPTH_SIZE, out d); Egl.GetConfigAttrib(display, active_config, Egl.STENCIL_SIZE, out s); - Egl.GetConfigAttrib(display, active_config, Egl.BLUE_SIZE, out b); - Egl.GetConfigAttrib(display, active_config, Egl.ALPHA_SIZE, out a); int sample_buffers; Egl.GetConfigAttrib(display, active_config, Egl.SAMPLES, out sample_buffers); Egl.GetConfigAttrib(display, active_config, Egl.SAMPLES, out samples);