mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
Make sure monitor refresh is called when switchres is used (SDL). Remove
a printf. (nw)
This commit is contained in:
parent
f0d075fa7a
commit
0e5436c325
@ -1268,6 +1268,7 @@ OSDWORK_CALLBACK( sdl_window_info::complete_create_wt )
|
||||
SDL_WM_SetCaption(window->m_title, "SDLMAME");
|
||||
#endif
|
||||
|
||||
window->monitor()->refresh();
|
||||
// initialize the drawing backend
|
||||
if (window->renderer().create())
|
||||
return (void *) &result[1];
|
||||
|
@ -139,7 +139,6 @@ void win_monitor_info::refresh()
|
||||
osd_free(temp);
|
||||
|
||||
m_pos_size = RECT_to_osd_rect(m_info.rcMonitor);
|
||||
printf("%d %d\n", m_pos_size.width(), m_pos_size.height());
|
||||
m_usuable_pos_size = RECT_to_osd_rect(m_info.rcWork);
|
||||
m_is_primary = ((m_info.dwFlags & MONITORINFOF_PRIMARY) != 0);
|
||||
(void)result; // to silence gcc 4.6
|
||||
|
Loading…
Reference in New Issue
Block a user