From afe5ceb7292c494e14bb1417d0e22234c0610b47 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 13 Nov 2013 10:12:08 +0100 Subject: [PATCH] ddraw: Create textures for additional surfaces. --- dlls/ddraw/ddraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index f924a096418..a5422da8677 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -3143,7 +3143,7 @@ static HRESULT CreateSurface(struct ddraw *ddraw, DDSURFACEDESC2 *DDSD, { struct ddraw_surface *object2 = NULL; - if (FAILED(hr = ddraw_create_surface(ddraw, &desc2, flags, &object2, version))) + if (FAILED(hr = ddraw_surface_create_texture(ddraw, &desc2, version, flags, &object2))) { if (version == 7) IDirectDrawSurface7_Release(&object->IDirectDrawSurface7_iface); -- 2.11.4.GIT