-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hello ,
I would like to use your lib in Tcl / Tk, but my knowledge of python is poor.
Could you show me an example in Tcl, so far here's what I've done :
package req Tkgl
update idletasks
tkgl .gl -profile "3_2"
.gl makecurrent
# my lib openGl
gl::glClearColor 0.0 1.0 1.0 0.0
gl::glClear {GL_COLOR_BUFFER_BIT GL_DEPTH_BUFFER_BIT}
.gl swapbuffers
pack .glMy window appears but disappears after a few seconds.
Can you tell me if the above example is correct?
Thanks
Metadata
Metadata
Assignees
Labels
No labels