Merge pull request #638 from bunnei/osx-fix

Fixed EmuWindow typo (fixes OSX build)
This commit is contained in:
bunnei 2015-03-07 18:33:00 -05:00
commit 89495fc888
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ void EmuWindow::KeyReleased(KeyMap::HostDeviceKey key) {
Service::HID::PadButtonRelease(mapped_key); Service::HID::PadButtonRelease(mapped_key);
} }
EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(int width, int height) { EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(unsigned width, unsigned height) {
ASSERT(width > 0); ASSERT(width > 0);
ASSERT(height > 0); ASSERT(height > 0);

View file

@ -48,7 +48,7 @@ public:
* @param height Window framebuffer height in pixels * @param height Window framebuffer height in pixels
* @return Newly created FramebufferLayout object with default screen regions initialized * @return Newly created FramebufferLayout object with default screen regions initialized
*/ */
static FramebufferLayout DefaultScreenLayout(int width, int height); static FramebufferLayout DefaultScreenLayout(unsigned width, unsigned height);
unsigned width; unsigned width;
unsigned height; unsigned height;