1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sokol: type alias all gfx structs (#13014)

This commit is contained in:
Larpon
2022-01-02 19:36:01 +01:00
committed by GitHub
parent 41e763f79c
commit 4d4398fa8a
25 changed files with 531 additions and 431 deletions

View File

@@ -218,6 +218,7 @@ import gg
import gx
import sokol.sapp
import sokol.sgl
import sokol.gfx
import x.ttf
import os
@@ -233,7 +234,7 @@ const (
struct App_data {
pub mut:
gg &gg.Context
sg_img C.sg_image
sg_img gfx.Image
init_flag bool
frame_c int