mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-23 07:49:48 +00:00
Direct3DCreate function pointer typedef needs WINAPI macro
disable page flipping dependent checkboxes in constructor to ensure correct start state git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@153 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
parent
788e1d0ef1
commit
09f966a927
@ -154,6 +154,9 @@ Direct3DBlitter::Direct3DBlitter(PixelBufferSetter setPixelBuffer, QWidget *pare
|
||||
confWidget->setLayout(mainLayout);
|
||||
}
|
||||
|
||||
vblankflipBox->setEnabled(false);
|
||||
triplebufBox->setEnabled(false);
|
||||
|
||||
connect(flippingBox, SIGNAL(toggled(bool)), vblankflipBox, SLOT(setEnabled(bool)));
|
||||
connect(flippingBox, SIGNAL(toggled(bool)), triplebufBox, SLOT(setEnabled(bool)));
|
||||
|
||||
|
@ -27,7 +27,7 @@ class QCheckBox;
|
||||
class QComboBox;
|
||||
|
||||
class Direct3DBlitter : public BlitterWidget {
|
||||
typedef IDirect3D9* (*Direct3DCreate9Ptr)(UINT);
|
||||
typedef IDirect3D9* (WINAPI *Direct3DCreate9Ptr)(UINT);
|
||||
|
||||
const std::auto_ptr<QWidget> confWidget;
|
||||
QComboBox *const adapterSelector;
|
||||
|
Loading…
Reference in New Issue
Block a user