mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gg: image cache
This commit is contained in:
@ -28,11 +28,12 @@ fn main() {
|
||||
user_data: app
|
||||
init_fn: init_images
|
||||
)
|
||||
app.image = app.gg.create_image('logo.png')
|
||||
app.gg.run()
|
||||
}
|
||||
|
||||
fn init_images(mut app App) {
|
||||
app.image = gg.create_image('logo.png')
|
||||
//app.image = gg.create_image('logo.png')
|
||||
}
|
||||
|
||||
fn frame(app &App) {
|
||||
|
Reference in New Issue
Block a user