From: <va...@us...> - 2011-04-21 19:52:30
|
Revision: 12133 http://openmsx.svn.sourceforge.net/openmsx/?rev=12133&view=rev Author: vampier Date: 2011-04-21 19:52:24 +0000 (Thu, 21 Apr 2011) Log Message: ----------- SDL has horizontal stretch now, no need for OSD widgets to ignore the SDL scaler anymore. Modified Paths: -------------- openmsx/trunk/share/scripts/osd_widgets.tcl Modified: openmsx/trunk/share/scripts/osd_widgets.tcl =================================================================== --- openmsx/trunk/share/scripts/osd_widgets.tcl 2011-04-21 19:12:58 UTC (rev 12132) +++ openmsx/trunk/share/scripts/osd_widgets.tcl 2011-04-21 19:52:24 UTC (rev 12133) @@ -25,7 +25,7 @@ proc msx_update {name} { # compensate for horizontal-stretch and set-adjust - set hstretch [expr {($::renderer ne "SDL") ? $::horizontal_stretch : 320}] + set hstretch [expr {$::horizontal_stretch}] set xsize [expr {320.0 / $hstretch}] set xoffset [expr {($hstretch - 256) / 2 * $xsize}] set ysize 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |