Commit 19316ff8 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

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.
parent 1874f314
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment