1
0
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:
Alexander Medvednikov
2019-11-20 07:10:19 +03:00
parent 26fb7e0821
commit 759644ab36
4 changed files with 73 additions and 10 deletions

View File

@@ -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)