6 Nov
2006
6 Nov
'06
8:59 a.m.
Oops, forgot to attach diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index d0f44cf..45972c4 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -1841,8 +1841,7 @@ static HRESULT WINAPI IWineD3DSurfaceImp int height = This->glRect.bottom - This->glRect.top; /* Stick to the alignment for the converted surface too, makes it easier to load the surface */ - outpitch = width * bpp; - outpitch = (outpitch + 3) & ~3; + outpitch = pitch * 4; mem = HeapAlloc(GetProcessHeap(), 0, outpitch * height); if(!mem) {
6973
Age (days ago)
6973
Last active (days ago)
0 comments
1 participants
participants (1)
-
Markus Amsler