diff options
| author | Mai <mathew1800@gmail.com> | 2022-09-29 09:05:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-29 09:05:51 -0400 |
| commit | 0c19a1d87cbd51d62833d31d3413c61b3bc8ccf4 (patch) | |
| tree | bd5a76acfeec8d7e70345b8720c5e164ef8e4da7 /Source/Core/VideoBackends/Software/SWOGLWindow.cpp | |
| parent | 3fab5b2338f1b7bc1b4ddc0e283c2650a6e2e825 (diff) | |
| parent | 3d0cd8b076a4a8ff4f6741769781305cd571b5b7 (diff) | |
Merge pull request #11100 from Pokechu22/software-settings-merge
Use the same settings for the software renderer as other backends
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWOGLWindow.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWOGLWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp index 387375cc85..a002e3e519 100644 --- a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp +++ b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp @@ -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); |
