mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
chore: mark comment 4jcraft
This commit is contained in:
parent
cca286b73a
commit
b4feb6ce92
|
|
@ -224,8 +224,8 @@ BufferedImage* BufferedImage::getSubimage(int x, int y, int w, int h) {
|
||||||
|
|
||||||
BufferedImage* img = new BufferedImage(w, h, 0);
|
BufferedImage* img = new BufferedImage(w, h, 0);
|
||||||
|
|
||||||
// Copy pixel data directly into img->data[0].
|
// 4jcraft: Copy pixel data directly into img->data[0].
|
||||||
// The old arrayWithLength was a non-owning wrapper — std::vector copies,
|
// The old arrayWithLength.h (custom vector impl) was a non-owning wrapper, std::vector copies
|
||||||
// so we write to the raw array directly instead.
|
// so we write to the raw array directly instead.
|
||||||
int srcW = width;
|
int srcW = width;
|
||||||
for (int row = 0; row < h; row++) {
|
for (int row = 0; row < h; row++) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue