mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: ~500 more byte=>u8
This commit is contained in:
@@ -251,7 +251,7 @@ pub fn (s &Context) text_iter_next(iter &C.FONStextIter, quad &C.FONSquad) int {
|
||||
// get_texture_data returns the current Context's raw texture data.
|
||||
// `width` and `height` is assigned the size of the texture dimensions.
|
||||
[inline]
|
||||
pub fn (s &Context) get_texture_data(width &int, height &int) &byte {
|
||||
pub fn (s &Context) get_texture_data(width &int, height &int) &u8 {
|
||||
return &u8(C.fonsGetTextureData(s, width, height))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user