ich habe ein Problem beim WindowedScreen unter Linux
Bei mir ruckelt es wie die Sau .
Im Compiler ist OGL angegeben , wenn ich das weglasse bekomme
ich gar kein screen .
Hier der Code
Code: Alles auswählen
InitKeyboard()
InitMouse()
InitSprite()
UsePNGImageDecoder()
OpenWindow(0,0,0,800,600,"test",#PB_Window_ScreenCentered | #PB_Window_BorderLess )
OpenWindowedScreen(WindowID(0),0,0,800,600,1,0,0)
;OpenScreen(800,600,16,"TEST")
UsePNGImageDecoder()
Enumeration
#_bild
EndEnumeration
LoadSprite(#_bild ,"mouse.PNG")
Repeat
ClearScreen(RGB(0,0,0))
;Delay(5)
ExamineKeyboard()
ExamineMouse()
mx = MouseX()
my = MouseY()
DisplaySprite(#_bild,mx,my)
FlipBuffers()
Until KeyboardPushed(#PB_Key_Escape)
; IDE Options = PureBasic 4.00 - Beta 1 (Linux - x86) - (c) 2006 Fantaisie Software
; CursorPosition = 22
; Folding = -
; Executable = test
; SubSystem = opengl
Gruß Mac