The blitzmax SetViewport command uses Clip Planes under Direct X and Scissors under OpenGL. If you card does not support Clip planes then you will have this issue with all DirectX software and not just BlitzMax. FYI clip planes do clip the drawing area, a True viewport, which this is not, does not.