ok((pfd.dwFlags&(PFD_GENERIC_FORMAT|PFD_GENERIC_ACCELERATED))==PFD_GENERIC_FORMAT,"Expected only PFD_GENERIC_FORMAT to be set for WGL_NO_ACCELERATION_ARB!: iPixelFormat=%d, dwFlags=%x!\n",iPixelFormat,pfd.dwFlags);
break;
caseWGL_GENERIC_ACCELERATION_ARB:
ok((pfd.dwFlags&(PFD_GENERIC_FORMAT|PFD_GENERIC_ACCELERATED))==(PFD_GENERIC_FORMAT|PFD_GENERIC_ACCELERATED),"Expected both PFD_GENERIC_FORMAT and PFD_GENERIC_ACCELERATION to be set for WGL_GENERIC_ACCELERATION_ARB: iPixelFormat=%d, dwFlags=%x!\n",iPixelFormat,pfd.dwFlags);
break;
caseWGL_FULL_ACCELERATION_ARB:
ok((pfd.dwFlags&(PFD_GENERIC_FORMAT|PFD_GENERIC_ACCELERATED))==0,"Expected no PFD_GENERIC_FORMAT/_ACCELERATION to be set for WGL_FULL_ACCELERATION_ARB: iPixelFormat=%d, dwFlags=%x!\n",iPixelFormat,pfd.dwFlags);
break;
}
}
}
staticvoidtest_make_current_read(HDChdc)
{
intres;
...
...
@@ -657,6 +704,7 @@ START_TEST(opengl)
test_sharelists(hdc);
test_colorbits(hdc);
test_gdi_dbuf(hdc);
test_acceleration(hdc);
wgl_extensions=pwglGetExtensionsStringARB(hdc);
if(wgl_extensions==NULL)skip("Skipping opengl32 tests because this OpenGL implementation doesn't support WGL extensions!\n");