SWOGLWindow: const correctness for ShowImage

This commit is contained in:
Lioncash committed 2016-09-21 12:54:22 -04:00
1 parent 023eb34247
commit 99baa3268f
2 files changed
+2 -2

No files matched your search

@@ -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();