This works: 1280x800
OpenWindow( 0, 0, 0, 1280, 800, "DarkBasic Professional - PureGDK", #PB_Window_SystemMenu | #PB_Window_ScreenCentered )
hDBWnd = OpenDBWnd( WindowID( 0 ), 0, 0, 1280, 800 )
dbMakeObjectCube(1,10)
Repeat
dbRotateObject(1,dbWrapValue(dbObjectAngleX(1)+0.1),dbWrapValue(dbObjectAngleY(1)+0.1),dbWrapValue(dbObjectAngleZ(1)+0.1))
dbText(10,10,Str(dbScreenFPS()))
dbSync()
Until WindowEvent()=#PB_Event_CloseWindow
This crashes: 1280x512
OpenWindow( 0, 0, 0, 1280, 512, "DarkBasic Professional - PureGDK", #PB_Window_SystemMenu | #PB_Window_ScreenCentered )
hDBWnd = OpenDBWnd( WindowID( 0 ), 0, 0, 1280, 512 )
dbMakeObjectCube(1,10)
Repeat
dbRotateObject(1,dbWrapValue(dbObjectAngleX(1)+0.1),dbWrapValue(dbObjectAngleY(1)+0.1),dbWrapValue(dbObjectAngleZ(1)+0.1))
dbText(10,10,Str(dbScreenFPS()))
dbSync()
Until WindowEvent()=#PB_Event_CloseWindow
This once again works: 1279x512
OpenWindow( 0, 0, 0, 1279, 512, "DarkBasic Professional - PureGDK", #PB_Window_SystemMenu | #PB_Window_ScreenCentered )
hDBWnd = OpenDBWnd( WindowID( 0 ), 0, 0, 1279, 512 )
dbMakeObjectCube(1,10)
Repeat
dbRotateObject(1,dbWrapValue(dbObjectAngleX(1)+0.1),dbWrapValue(dbObjectAngleY(1)+0.1),dbWrapValue(dbObjectAngleZ(1)+0.1))
dbText(10,10,Str(dbScreenFPS()))
dbSync()
Until WindowEvent()=#PB_Event_CloseWindow
Something crazy like this works: 1279x64
OpenWindow( 0, 0, 0, 1279, 480, "DarkBasic Professional - PureGDK", #PB_Window_SystemMenu | #PB_Window_ScreenCentered )
hDBWnd = OpenDBWnd( WindowID( 0 ), 0, 0, 1279, 64 )
dbMakeObjectCube(1,10)
Repeat
dbRotateObject(1,dbWrapValue(dbObjectAngleX(1)+0.1),dbWrapValue(dbObjectAngleY(1)+0.1),dbWrapValue(dbObjectAngleZ(1)+0.1))
dbText(10,10,Str(dbScreenFPS()))
dbSync()
Until WindowEvent()=#PB_Event_CloseWindow
As you can see it is more of an issue with width than height.
ACER Aspire 5920G: Core2Duo 2.2GHZ, 2GB, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP1, DBPro 7.4 + PureGDK