Commit 5a93d972 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ddraw/tests: Init the lock desc before using it.

parent 49451663
......@@ -17080,6 +17080,9 @@ static void test_compressed_surface_stretch(void)
memset(&fx, 0, sizeof(fx));
fx.dwSize = sizeof(fx);
memset(&lock, 0, sizeof(lock));
lock.dwSize = sizeof(lock);
for (i = 0; i < ARRAY_SIZE(test_caps); ++i)
{
src_surface_desc.ddsCaps.dwCaps = test_caps[i].src_caps;
......
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