gambatte_qt: fix win32 build breakage
This commit is contained in:
parent
5891d77d1a
commit
3557a37c9d
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user