From c2d9b32ff13d9d476a3dffccf5ab80a3c9426035 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 7 Mar 2009 18:33:23 +0000 Subject: [PATCH] Modified Extensions example to request a GL3.0 context. --- Source/Examples/Tests/Extensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Examples/Tests/Extensions.cs b/Source/Examples/Tests/Extensions.cs index f6aba49c..39e3b6a2 100644 --- a/Source/Examples/Tests/Extensions.cs +++ b/Source/Examples/Tests/Extensions.cs @@ -57,7 +57,7 @@ namespace Examples.WinForms Application.Idle -= StartAsync; // Create a context in order to load all GL methods (GL.LoadAll() is called automatically.) - using (GLControl control = new GLControl(GraphicsMode.Default)) + using (GLControl control = new GLControl(GraphicsMode.Default, 3, 0, GraphicsContextFlags.Default)) { TextBoxVendor.Text = GL.GetString(StringName.Vendor); TextBoxRenderer.Text = GL.GetString(StringName.Renderer);