mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-19 17:28:18 +00:00
The LowerRightX and LowerRightY were calculated as the X and Y coordinates of the pixel to the right and below the last visible pixel, but are compared with the last actually visible pixel in the source. They need an extra -1 offset to correct. Add comments to explain what's going on. Fix the signature of the function to reflect that the "dummy" passed for the display region is a pointer not an integer.
5 lines
140 B
C
5 lines
140 B
C
#ifndef XBBTDEFS_H
|
|
#define XBBTDEFS_H 1
|
|
unsigned long clipping_Xbitblt(DspInterface dsp, DLword *dummy, int x, int y, int w, int h);
|
|
#endif
|