mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: empty gg/freetype project
This commit is contained in:
@@ -86,6 +86,13 @@ pub:
|
||||
// type clickpub fn pub fn (window * GLFWwindow, button, action, mods int)
|
||||
type clickpubfn fn (window voidptr, button, action, mods int)
|
||||
|
||||
/*
|
||||
* TODO broken
|
||||
fn init() {
|
||||
init_glfw()
|
||||
}
|
||||
*/
|
||||
|
||||
pub fn init_glfw() {
|
||||
C.glfwInit()
|
||||
C.glfwWindowHint(C.GLFW_CONTEXT_VERSION_MAJOR, 3)
|
||||
|
||||
Reference in New Issue
Block a user