all repos — mgba @ 9c0ae33ddd270102785fe450e1b1706d1801466e

mGBA Game Boy Advance Emulator

Qt: Fix Windows build
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Jun 2015 23:44:01 -0700
commit

9c0ae33ddd270102785fe450e1b1706d1801466e

parent

36daee6de33f8b404d6238d285a4c0d20680a35c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/DisplayGL.cppsrc/platform/qt/DisplayGL.cpp

@@ -208,7 +208,7 @@ }

void PainterGL::start() { m_gl->makeCurrent(); - m_backend.d.init(&m_backend.d, (void*) m_gl->winId()); + m_backend.d.init(&m_backend.d, reinterpret_cast<WHandle>(m_gl->winId())); m_gl->doneCurrent(); m_drawTimer = new QTimer;