I have to use OSX for work and wanted to see how well PB works on it.
Was off to a great start, but I soon encountered a problem I have no solution for:
StartDrawing(): The specified output is NULL (0 value).
Code: Select all
Debug InitSprite()
Debug OpenWindow(0, 0, 0, 800, 600, "")
Debug OpenWindowedScreen(WindowID(0), 0, 0, 800, 600)
Repeat
If WindowEvent() = #PB_Event_CloseWindow
Break
EndIf
ClearScreen(0)
StartDrawing(ScreenOutput())
DrawText(10, 10, "TEST")
StopDrawing()
FlipBuffers()
ForEver
Initialization is always successful.
Am I missing something silly or has this happened to anyone else?