Skip to content

Commit

Permalink
mark create_image_with_size as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-ward committed Jan 25, 2025
1 parent c225e04 commit b7884fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vlib/gg/image.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7884fd

Please sign in to comment.