Fix initialization order warnings.

This commit is contained in:
Unknown W. Brackets 2013-10-19 13:59:48 -07:00
parent 2b11a6c92a
commit 9a9aa5b194
3 changed files with 7 additions and 7 deletions

View file

@ -149,10 +149,10 @@ struct GPUDebugBuffer {
private:
bool alloc_;
u8 *data_;
u32 height_;
u32 stride_;
bool flipped_;
u32 height_;
GPUDebugBufferFormat fmt_;
bool flipped_;
};
class GPUDebugInterface {
@ -203,4 +203,4 @@ public:
// cached framebuffers / textures / vertices?
// get content of specific framebuffer / texture?
// vertex / texture decoding?
};
};

View file

@ -26,13 +26,13 @@
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
timer(this),
nextState(CORE_POWERDOWN),
lastUIState(UISTATE_MENU),
dialogDisasm(0),
memoryWindow(0),
memoryTexWindow(0),
timer(this),
displaylistWindow(0),
lastUIState(UISTATE_MENU)
displaylistWindow(0)
{
ui->setupUi(this);

View file

@ -325,7 +325,7 @@ private:
};
GameBrowser::GameBrowser(std::string path, bool allowBrowsing, bool *gridStyle, std::string lastText, std::string lastLink, UI::LayoutParams *layoutParams)
: LinearLayout(UI::ORIENT_VERTICAL, layoutParams), path_(path), gameList_(0), allowBrowsing_(allowBrowsing), gridStyle_(gridStyle), lastText_(lastText), lastLink_(lastLink) {
: LinearLayout(UI::ORIENT_VERTICAL, layoutParams), gameList_(0), path_(path), gridStyle_(gridStyle), allowBrowsing_(allowBrowsing), lastText_(lastText), lastLink_(lastLink) {
using namespace UI;
Refresh();
}