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:
@ -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]
|
||||
|
Reference in New Issue
Block a user