mirror of
https://github.com/vlang/v.git
synced 2025-09-16 19:06:24 -04:00
gg: mark create_image_with_size as deprecated (image resizing is done by stbi.resize_uint8/3
, with a different fn signature) (#23580)
This commit is contained in:
parent
5bfea9d3e8
commit
1d9aa88ca5
@ -199,6 +199,7 @@ pub fn (mut img Image) update_pixel_data(buf &u8) {
|
||||
// `width` x `height` dimension.
|
||||
//
|
||||
// TODO: copypasta
|
||||
@[deprecated]
|
||||
pub fn (mut ctx Context) create_image_with_size(file string, width int, height int) Image {
|
||||
if !gfx.is_valid() {
|
||||
// Sokol is not initialized yet, add stbi object to a queue/cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user