Here is a request and check my modified code even on fb 1.08. Probably I changed something wrongpaul doe wrote:Who knows? The code works here (fbc 1.08.0).PavelUT wrote:...Please see what I did wrong.
FreeBasic+OpenGL. Help
Re: FreeBasic+OpenGL. Help
Re: FreeBasic+OpenGL. Help
I have to
#include "GL/glext.bi"
to get the the code to run.
Also a sleep 1 after flip otherwise the whole thing is too fast.
also I would
Dim As any Ptr img_fon
I usually delete images at the program end, but that's up to you.
But your boxes run fine.
#include "GL/glext.bi"
to get the the code to run.
Also a sleep 1 after flip otherwise the whole thing is too fast.
also I would
Dim As any Ptr img_fon
I usually delete images at the program end, but that's up to you.
But your boxes run fine.