gambatte_qt: fix win32 build breakage

This commit is contained in:
sinamas 2013-04-18 20:03:41 +02:00
parent 5891d77d1a
commit 3557a37c9d
2 changed files with 6 additions and 6 deletions

View File

@ -182,7 +182,7 @@ void DirectDrawBlitter::consumeBuffer(SetBuffer setInputBuffer) {
std::ptrdiff_t pitch = inBuffer().pixelFormat == PixelBuffer::RGB16
? ddsd.lPitch >> 1
: ddsd.lPitch >> 2
: ddsd.lPitch >> 2;
setInputBuffer(ddsd.lpSurface, inBuffer().pixelFormat, pitch);
}

View File

@ -22,16 +22,16 @@
#include "array.h"
#include "dialoghelpers.h"
#include "scoped_ptr.h"
#ifdef PLATFORM_WIN32
#include <GL/glext.h>
#endif
#include <QCheckBox>
#include <QGLWidget>
#include <QSettings>
#include <QSizePolicy>
#include <QVBoxLayout>
#ifdef PLATFORM_WIN32
#include <GL/glext.h>
#endif
#include <algorithm>
#include <cstring>
#include <vector>