mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
adding is_16_bit_from_memory to stbi
This commit is contained in:
Vendored
+1
@@ -76,6 +76,7 @@ foreign stbi {
|
|||||||
|
|
||||||
is_16_bit :: proc(filename: cstring) -> b32 ---
|
is_16_bit :: proc(filename: cstring) -> b32 ---
|
||||||
is_16_bit_from_file :: proc(f: ^c.FILE) -> b32 ---
|
is_16_bit_from_file :: proc(f: ^c.FILE) -> b32 ---
|
||||||
|
is_16_bit_from_memory :: proc(buffer: [^]byte, len: c.int) -> c.int ---
|
||||||
|
|
||||||
// for image formats that explicitly notate that they have premultiplied alpha,
|
// for image formats that explicitly notate that they have premultiplied alpha,
|
||||||
// we just return the colors as stored in the file. set this flag to force
|
// we just return the colors as stored in the file. set this flag to force
|
||||||
|
|||||||
Reference in New Issue
Block a user