Header optimizations (#1684)

Shouldn't break anything. I hope.
This commit is contained in:
Ivan 2016-04-27 01:27:24 +03:00
parent da7472fe81
commit aafcf44581
89 changed files with 2370 additions and 2348 deletions

View file

@ -7,8 +7,8 @@
extern cfg::bool_entry g_cfg_rsx_debug_output;
GLGSFrame::GLGSFrame(size2i size)
: GSFrame("OpenGL", size)
GLGSFrame::GLGSFrame(int w, int h)
: GSFrame("OpenGL", w, h)
{
const int context_attrs[] =
{
@ -26,7 +26,7 @@ GLGSFrame::GLGSFrame(size2i size)
0
};
m_canvas = new wxGLCanvas(this, wxID_ANY, context_attrs, wxDefaultPosition, { size.width, size.height });
m_canvas = new wxGLCanvas(this, wxID_ANY, context_attrs, wxDefaultPosition, { w, h });
m_canvas->Bind(wxEVT_LEFT_DCLICK, &GSFrame::OnLeftDclick, this);
}