Previous 199869 Revisions Next

r45197 Wednesday 24th February, 2016 at 07:02:17 UTC by Miodrag Milanović
fix compile (nw)
[src/osd/windows]window.cpp

trunk/src/osd/windows/window.cpp
r253708r253709
16811681   }
16821682
16831683   // non-integer scaling - often gives more pleasing results in full screen
1684   newwidth = target_width;
1685   newheight = target_height;
16841686   if (!video_config.fullstretch)
16851687   {
16861688      // compute maximum integral scaling to fit the window
r253708r253709
17211723      newwidth *= xscale;
17221724      newheight *= yscale;
17231725   }
1724   else
1725   {
1726      newwidth = target_width;
1727      newheight = target_height;
1728   }
17291726
17301727   // clamp against the absolute minimum
17311728   propwidth = MAX(propwidth, MIN_WINDOW_DIM);


Previous 199869 Revisions Next


© 1997-2024 The MAME Team