Removed the need for the pixel_canvas_t typedef
This commit is contained in:
parent
20b7743ec3
commit
045bad1b52
18 changed files with 560 additions and 328 deletions
|
|
@ -999,8 +999,8 @@ DDrawFB::LockSurfRes DDrawFB::LockSurf (LPRECT lockrect, LPDIRECTDRAWSURFACE toL
|
|||
LOG1 ("Final result after restoration attempts: %08lx\n", hr);
|
||||
return NoGood;
|
||||
}
|
||||
Buffer = (canvas_pixel_t *)desc.lpSurface;
|
||||
Pitch = desc.lPitch / sizeof(canvas_pixel_t);
|
||||
Buffer = (BYTE *)desc.lpSurface;
|
||||
Pitch = desc.lPitch;
|
||||
BufferingNow = false;
|
||||
return wasLost ? GoodWasLost : Good;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue