sokol: type alias all sgl structs, support sgl_context (#13018)

This commit is contained in:
Larpon 2022-01-03 14:05:24 +01:00 committed by GitHub
parent 9974495f5e
commit 88a973b617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 128 additions and 39 deletions

View file

@ -61,7 +61,7 @@ enum Viewer_state {
struct App {
mut:
gg &gg.Context
pip_viewer C.sgl_pipeline
pip_viewer sgl.Pipeline
texture gfx.Image
init_flag bool
frame_count int