mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: ~500 more byte=>u8
This commit is contained in:
parent
ae6a25f44e
commit
fbb9e65c0f
148 changed files with 544 additions and 494 deletions
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue