From 3e9c1c1a3ae2d3cebaebc714e4d5904ec4d963c9 Mon Sep 17 00:00:00 2001 From: Larpon Date: Fri, 7 Jan 2022 17:01:07 +0100 Subject: [PATCH] sokol: rename sapp consts, remove sapp prefix (#13083) --- vlib/sokol/sapp/sapp_structs.c.v | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vlib/sokol/sapp/sapp_structs.c.v b/vlib/sokol/sapp/sapp_structs.c.v index 5b3f490b8a..04bdda02b3 100644 --- a/vlib/sokol/sapp/sapp_structs.c.v +++ b/vlib/sokol/sapp/sapp_structs.c.v @@ -1,10 +1,10 @@ module sapp const ( - sapp_max_touchpoints = 8 - sapp_max_mousebuttons = 3 - sapp_max_keycodes = 512 - sapp_max_iconimages = 8 + max_touchpoints = 8 + max_mousebuttons = 3 + max_keycodes = 512 + max_iconimages = 8 ) pub struct C.sapp_range { @@ -26,7 +26,7 @@ pub type ImageDesc = C.sapp_image_desc pub struct C.sapp_icon_desc { sokol_default bool - images [sapp_max_iconimages]ImageDesc + images [max_iconimages]ImageDesc } pub type IconDesc = C.sapp_icon_desc @@ -94,7 +94,7 @@ pub: scroll_x f32 scroll_y f32 num_touches int - touches [sapp_max_touchpoints]TouchPoint + touches [max_touchpoints]TouchPoint window_width int window_height int framebuffer_width int