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

25 Commits

Author SHA1 Message Date
Delyan Angelov
b52b8429d4
vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w . now works. (#16335) 2022-11-05 09:08:01 +03:00
Delyan Angelov
7f91db695c
examples, tests: small formatting cleanup in cube_glsl.v , remove already fixed skips in v test-cleancode, before // vfmt off and // vfmt on 2022-11-04 14:48:20 +02:00
Swastik Baranwal
b584e1df98
checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
Larpon
816e9319d7
cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Larpon
faaa7035c4
examples: fix segmentation fault crash on exit in sokol 0X_ examples (#13299) 2022-01-27 19:46:55 +02:00
Larpon
b44b8c472d
examples: use vmemset instead of C.memset (#13104) 2022-01-09 16:08:11 +02:00
Larpon
5cffa1a2e4
sokol: use V type for SG_SHADERSTAGE_[VS|FS] (#13086) 2022-01-07 19:52:44 +02:00
Larpon
88a973b617
sokol: type alias all sgl structs, support sgl_context (#13018) 2022-01-03 15:05:24 +02:00
Larpon
4d4398fa8a
sokol: type alias all gfx structs (#13014) 2022-01-02 20:36:01 +02:00
Larpon
83260e5074
docs: add link to shader inclusion example (#12613) 2021-11-29 18:26:32 +02:00
Enzo
e3b65092d6
parser: deprecate size_t (#11443) 2021-09-08 13:09:32 +03:00
Delyan Angelov
f18265e6a8
gg: remove obsolete usages of use_ortho: true 2021-06-24 11:15:12 +03:00
Don Park
aebb551e93
cgen: do full struct initialisation for V structs, fixes invalid data from map[string]Struct{}['unknown'] (#9878) 2021-04-27 08:18:48 +03:00
Uwe Krüger
3c0a368af3
all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
Delyan Angelov
d4f31412b7
v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
penguindark
73238a81e2
examples: sokol: update the comments on how to compile the shaderes (#9633) 2021-04-08 02:11:41 +02:00
Larpon
8caabf0e9e
sokol: update to floooh/sokol@c602d83 (#9607) 2021-04-07 20:39:23 +02:00
penguindark
a016ac39c0
examples: change byteptr to &byte in sokol examples and regex (#9606) 2021-04-05 18:17:45 +03:00
penguindark
a2ef9967fe
examples: add .obj viewer as a sokol example (#9456) 2021-03-25 16:53:13 +01:00
penguindark
1d69a0bd22
gg: window_size_real_pixels that for 3D without dpi scaling (#9004) 2021-02-27 22:11:26 +01:00
penguindark
198b395cde
examples: add examples/sokol/05_instancing_glsl, cleanup code (#8809) 2021-02-18 11:11:26 +02:00
Alexander Medvednikov
60a8881326 examples: fix and vfmt cube_glsl example 2021-02-17 06:47:41 +01:00
penguindark
325aef6d41
gg: add gg.m4, use it in the sokol GLSL examples (#8755) 2021-02-15 15:40:28 +02:00