mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 22:59:47 -06:00
Software: Fix mipmaps and uneven strides in SWTexture
I think this is only used for texture dumping, but this resolves some failed assertions and glitchy results.
This commit is contained in:
@ -105,7 +105,7 @@ void SWOGLWindow::ShowImage(const AbstractTexture* image,
|
||||
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, static_cast<GLsizei>(sw_image->GetConfig().width),
|
||||
static_cast<GLsizei>(sw_image->GetConfig().height), 0, GL_RGBA, GL_UNSIGNED_BYTE,
|
||||
sw_image->GetData());
|
||||
sw_image->GetData(0, 0));
|
||||
|
||||
glUseProgram(m_image_program);
|
||||
|
||||
|
Reference in New Issue
Block a user