Hi DirectuX, this reminds me of the Petr advice "you must perform the Declare Set Address once you have active OpenGL context, that is, after TBGL_CreateWindowEx" https://www.thinbasic.com/community/...ll=1#post95191
whatever the OpenGL context means , it seems specific to opengl. in contrast the constant Pi is ready when we say Uses "Math" but not opengl.
if you don't have there is a collection of nice programs here to test opengl:
zzzhttps://www.thinbasic.com/downloads/thinBasic_Bonus_Packs/TBGL_BonusPack_1_8_0_0.zip
zzzhttps://www.thinbasic.com/downloads/thinBasic_Bonus_Packs/TBGL_BonusPack_Pro_1.4.0.zip
just remove the zzz so not to make a hot linking
a nice alpha test is in example TGA_masking inside the first BonusPack
Bookmarks