Uh?
!hi!, it depends on your screen resolution.
You must think of the 3D/2D 'viewport' as seperate from the window. Unfortunately, there is no way to find out how big the window is and change the following code accordingly, so you'll just have to measure your own screen resolution and live with that.
Say your desktop (normal non-darkbasic) screen res was 1024x768.
You would use this code:
Set Window On
Maximize Window
`We now have the white border around it.
`Make the 'viewport' the right size.
`The depth (in this case, 32), doesn't REALLY make a difference.
Set Display Mode 1024,768,32
`No more white border ^_^
......And that would do the trick.
How's my typing? Phone 0800-GO-TO-HELL