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

sokol: use V type for SG_SHADERSTAGE_[VS|FS] (#13086)

This commit is contained in:
Larpon
2022-01-07 18:52:44 +01:00
committed by GitHub
parent 5717066147
commit 5cffa1a2e4
6 changed files with 14 additions and 14 deletions

View File

@ -131,8 +131,8 @@ pub fn apply_bindings(bindings &Bindings) {
}
[inline]
pub fn apply_uniforms(stage int, ub_index int, data &Range) {
C.sg_apply_uniforms(stage, ub_index, data)
pub fn apply_uniforms(stage ShaderStage, ub_index int, data &Range) {
C.sg_apply_uniforms(int(stage), ub_index, data)
}
[inline]