OpenGLDevice: Fix incorrect mipmap step in upload

Wasn't used so it didn't break anything...
This commit is contained in:
Stenzek
2026-04-29 23:13:21 +10:00
parent 690fcb674f
commit cece5222cf
+1 -1
View File
@@ -264,7 +264,7 @@ std::unique_ptr<OpenGLTexture> OpenGLTexture::Create(u32 width, u32 height, u32
}
if (data_ptr)
data_ptr += data_pitch * current_width;
data_ptr += data_pitch * current_height;
current_width = (current_width > 1) ? (current_width / 2u) : current_width;
current_height = (current_height > 1) ? (current_height / 2u) : current_height;