Can I get a little help in testing the following?
Width = 1366
Height = 768
Set display mode Width, Height, 32
set window client size Width, Height
Set Window on
For X = 0 to Width step 5
Line X,0,X,Height
next X
For Y = 0 to Height step 5
Line 0,Y,Width,Y
next Y
wait key
do
If spacekey() = 1
set window size Width, Height
set window client size Width, Height
endif
loop
end
Simply change the Width & Height variable to match your highest native resolution, (in my case its 1366 x 768 on my laptop), also toggle the project settings, between Windowed, Windowed Fullscreen & Windowed Desktop.
I can only get the image to display correctly if I pick a Width & Height less than my highest resolution available. But I'm left wondering why? My game is running in an unscaled window, it should be showing 100% accurately at all times, regardless of resolution... But it's as if something is automatically scaling the window size by just a little bit to cause this corrupt image, and that's what I'm trying to stop!
EDIT: Yup, I think the bug is caused when a window resolution starts to get close to the highest native resolution. Some automagic scaling occurs, breaking the image. Hopefully this has been seen before, and fixed somehow... >_>
EDIT: The reason this is a problem too, is that for example, I have my Windows Task Bar on the right of my screen, and I love to run applications in Windowed mode, full height, but with the width slightly reduced so I can still see the task bar. This image corruption is obviously occurring on the horizontal lines in my case, but not the vertical, since the window height is maxed out, but the window width is a hundred or so pixels short of my full screen width.