A partner, and I have ran into a problem when trying to place a background image on a window using Dark GDK. We simply use dbSetSprite(BACKGROUND, 0, 0, BACKGROUND) where BACKGROUND is equal to the integer where the background is held. But, when the image is placed on the screen it is cut off at the bottom.
We've tried multiple fixes including changing the window size, but it just rescales the cut-off image instead of stretching the window to actually show the rest of the picture.
Here are pictures showing the issue:
It looks like this.
It should look like this.
Ignore the gap in the image I'm also working on getting the picture to scroll correctly, and I think the size issue is the cause behind it not working correctly.
Thanks for taking a look guys.