wined3d: Fix a typo.
This commit is contained in:
parent
04423c4f59
commit
0ce3c59477
|
@ -1516,7 +1516,7 @@ IWineGDISurfaceImpl_PrivateSetup(IWineD3DSurface *iface)
|
|||
This->resource.allocatedMemory = NULL;
|
||||
|
||||
/* We don't mind the nonpow2 stuff in GDI */
|
||||
This->resource.size = This->currentDesc.Width * getFormatDescEntry(This->resource.format)->bpp * This->currentDesc.Width;
|
||||
This->resource.size = This->currentDesc.Width * getFormatDescEntry(This->resource.format)->bpp * This->currentDesc.Height;
|
||||
This->pow2Size = This->resource.size;
|
||||
This->pow2Width = This->currentDesc.Width;
|
||||
This->pow2Height = This->currentDesc.Height;
|
||||
|
|
Loading…
Reference in New Issue