ImportC "-lgllib"
i()
cube(a.f)
s()
EndImport
InitSprite() : InitKeyboard()
OpenScreen(800,600,32,"")
i()
Repeat
ExamineKeyboard()
ClearScreen(128)
A.f + 0.001
cube(A)
;s()
FlipBuffers()
Until KeyboardPushed(#PB_Key_Escape)
End
it's just for draw an OpenGL cube , when i call s() (SDL_GL_Swapbuffers())
i crash my app ( linker error...)
i comment the s() func , and i can't restart the compilator , i use OpenGL subsystem.
i can compil with no Opengl subsystem... i must restart the system.
Any idea ?