fix minor compile warning

This commit is contained in:
Ian Curtis 2024-07-29 10:54:59 +01:00
parent 49ca8c1480
commit 3d8557dc44

View file

@ -60,7 +60,7 @@ void New3D::TextureBank::UploadTextures(int level, int x, int y, int width, int
int subX = x - mipXBase[level];
int subY = y - mipYBase[level];
for (unsigned i = 0; i < height; i++) {
for (int i = 0; i < height; i++) {
glTexSubImage2D(GL_TEXTURE_2D, level, subX, subY + i, width, 1, GL_RED_INTEGER, GL_UNSIGNED_SHORT, m_textureRam + ((y + i) * 2048) + x);
}
}