Browse Source

Fix #1794

pull/1799/head
tux3 10 years ago
parent
commit
31f7ded768
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 4
      src/video/videomode.h

4
src/video/videomode.h

@ -8,12 +8,12 @@ struct VideoMode @@ -8,12 +8,12 @@ struct VideoMode
unsigned short FPS; ///< Max frames per second supported by the device at this resolution
/// All zeros means a default/unspecified mode
operator bool()
operator bool() const
{
return width || height || FPS;
}
bool operator==(const VideoMode& other)
bool operator==(const VideoMode& other) const
{
return width == other.width
&& height == other.height

Loading…
Cancel
Save