mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: fix typos (#18229)
This commit is contained in:
@ -125,7 +125,7 @@ fn init(user_data voidptr) {
|
||||
// in vec4 position;
|
||||
// in vec4 color0;
|
||||
// ```
|
||||
// Also note the naming of the C.ATTR_* used as indicies.
|
||||
// Also note the naming of the C.ATTR_* used as indices.
|
||||
// They are the prefixed versions of the names of the input variables in the shader code.
|
||||
// If they change in the shader code they will also change here.
|
||||
pipeline_desc.layout.attrs[C.ATTR_vs_position].format = .float3 // x,y,z as f32
|
||||
|
Reference in New Issue
Block a user