ddraw: Create textures for additional surfaces.
This commit is contained in:
parent
6ea9afe701
commit
afe5ceb729
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue