mirror of
https://github.com/reactos/wine.git
synced 2024-12-14 15:19:28 +00:00
opengl32/tests: Fix leak in opengl test (valgrind).
Signed-off-by: Daniel Lehman <dlehman25@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d14456ceff
commit
55023fc037
@ -670,6 +670,9 @@ static void test_bitmap_rendering( BOOL use_dib )
|
||||
glGetIntegerv( GL_VIEWPORT, viewport );
|
||||
ok( viewport[0] == 0 && viewport[1] == 0 && viewport[2] == 12 && viewport[3] == 12,
|
||||
"wrong viewport %d,%d,%d,%d\n", viewport[0], viewport[1], viewport[2], viewport[3] );
|
||||
|
||||
wglDeleteContext(hglrc2);
|
||||
wglDeleteContext(hglrc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user