mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -50,13 +50,13 @@ fn graphics_frame(mut state AppState) {
|
|||
fn main() {
|
||||
mut state := &AppState{}
|
||||
state.gg = gg.new_context(
|
||||
width: 800
|
||||
height: 600
|
||||
width: 800
|
||||
height: 600
|
||||
create_window: true
|
||||
window_title: 'Random Static'
|
||||
init_fn: graphics_init
|
||||
frame_fn: graphics_frame
|
||||
user_data: state
|
||||
window_title: 'Random Static'
|
||||
init_fn: graphics_init
|
||||
frame_fn: graphics_frame
|
||||
user_data: state
|
||||
)
|
||||
spawn state.update()
|
||||
state.gg.run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue