mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib/examples: fix gl/glfw/gg examples. rename init functions
This commit is contained in:

committed by
Alexander Medvednikov

parent
b107b4f1e5
commit
dd053d79b0
@ -124,7 +124,7 @@ struct Game {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
glfw.init()
|
||||
glfw.init_glfw()
|
||||
mut game := &Game{
|
||||
gg: gg.new_context(gg.Cfg {
|
||||
width: WinWidth
|
||||
|
Reference in New Issue
Block a user