]> git.tdb.fi Git - libs/gui.git/commit
Use float rather than unsigned for refresh rate
authorMikko Rasa <tdb@tdb.fi>
Tue, 20 Oct 2015 16:31:41 +0000 (19:31 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 20 Oct 2015 16:31:41 +0000 (19:31 +0300)
commit9ffb9f22faf7c540083e6df828500d54aabcbb56
tree7cb8087c87da173ffc09c0676de6e52aa75d8878
parent05db7bfc90b3a3806080f34e463c57b9b3d87d31
Use float rather than unsigned for refresh rate

Display::set_mode now accepts a rate which is within +-0.5 Hz of
requested and chooses the closest match if there are more than one.
source/graphics/display.cpp
source/graphics/display.h
source/graphics/videomode.h
source/graphics/x11/display.cpp