New Window (gb.sdl2)

Dim hWindow As Window
hWindow = New Window ( [ OpenGL As Boolean ] ) [ As "EventName" ]

Create a new SDL window.

  • OpenGL must be TRUE if you want to use OpenGL in that window. Otherwise you will have to use the Draw class to paint the window.