[(try 3) 3/3] opengl32/tests: Improve test for wglMakeCurrent.

Paul Vriens paul.vriens.wine at gmail.com
Sat Sep 19 05:46:17 CDT 2009


On 09/19/2009 12:29 PM, Rico Schüller wrote:
> ---
> dlls/opengl32/tests/opengl.c | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
>
>
> ------------------------------------------------------------------------
>
>

+    ret = wglMakeCurrent( NULL, NULL );
+    ok( !ret, "wglMakeCurrent failed\n" );

shouldn't that message read "wglMakeCurrent succeeded" ?

If you are testing the last error it's usually a good idea to set the 
last error before the call (aka "SetLastError(0xdeadbeef)").

-- 
Cheers,

Paul.



More information about the wine-devel mailing list