diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-09-21 12:54:22 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-09-21 12:54:22 -0400 |
| commit | 99baa3268f36007c0e7b287c4cc1842448801ea3 (patch) | |
| tree | aa8fc53c3a4fba3efef949ea32a6bdcb53fb5cad /Source/Core/VideoBackends/Software/SWOGLWindow.cpp | |
| parent | 023eb34247f4e3db924113dd524615d3d05d8992 (diff) | |
SWOGLWindow: const correctness for ShowImage
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 f64b9656db..d5b6bf42c5 100644 --- a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp +++ b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp @@ -90,7 +90,7 @@ void SWOGLWindow::PrintText(const std::string& text, int x, int y, u32 color) m_text.emplace_back(data); } -void SWOGLWindow::ShowImage(u8* data, int stride, int width, int height, float aspect) +void SWOGLWindow::ShowImage(const u8* data, int stride, int width, int height, float aspect) { GLInterface->MakeCurrent(); GLInterface->Update(); |
