From 346294c7509a1ccd3997bbd79bad5f2f243bd3cb Mon Sep 17 00:00:00 2001
From: Roderick Colenbrander <thunderbird2k@gmail.com>
Date: Wed, 18 Nov 2009 21:36:49 +0100
Subject: [PATCH 2/2] Get rid of the opengl 0.0 test. The test passes on windows using AMD and Nvidia but not on AMD on linux. A close look at the spec shows that behavior of a version lower than 3.0 is up to the driver.

---
 dlls/opengl32/tests/opengl.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index 4137eea..c216ed2 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -553,18 +553,6 @@ static void test_dc(HWND hwnd, HDC hdc)
 
 static void test_opengl3(HDC hdc)
 {
-    /* Try to create a context using an invalid OpenGL version namely 0.x */
-    {
-        HGLRC gl3Ctx;
-        int attribs[] = {WGL_CONTEXT_MAJOR_VERSION_ARB, 0, 0};
-
-        gl3Ctx = pwglCreateContextAttribsARB(hdc, 0, attribs);
-        ok(gl3Ctx == 0, "wglCreateContextAttribs with major version=0 should fail!\n");
-
-        if(gl3Ctx)
-            wglDeleteContext(gl3Ctx);
-    }
-
     /* Try to create a context compatible with OpenGL 1.x; 1.0-2.1 is allowed */
     {
         HGLRC gl3Ctx;
-- 
1.6.3.3

