Roderick Colenbrander : opengl32: Get rid of invalid opengl 0.0 test.
Alexandre Julliard
julliard at winehq.org
Thu Nov 19 10:15:19 CST 2009
Module: wine
Branch: master
Commit: 19316ff8cbef0e8f059e912d417db4460c227313
URL: http://source.winehq.org/git/wine.git/?a=commit;h=19316ff8cbef0e8f059e912d417db4460c227313
Author: Roderick Colenbrander <thunderbird2k at gmail.com>
Date: Wed Nov 18 21:36:49 2009 +0100
opengl32: Get rid of invalid 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;
More information about the wine-cvs
mailing list