Skip to content

Commit

Permalink
pixels: print image type in hexadecimal format
Browse files Browse the repository at this point in the history
This makes it easier to lookup the type in the GL.h header file.
  • Loading branch information
mardy committed Oct 20, 2024
1 parent a9f1061 commit 0986786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ void load_texture(const void *data, GLenum type, int width, int height,
dst, x, y, dstpitch);
break;
default:
warning("Unsupported texture format %d", type);
warning("Unsupported texture format %04x", type);
}
}

Expand Down

0 comments on commit 0986786

Please sign in to comment.