mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #1794
This commit is contained in:
parent
addcfb47cb
commit
31f7ded768
|
@ -8,12 +8,12 @@ struct VideoMode
|
||||||
unsigned short FPS; ///< Max frames per second supported by the device at this resolution
|
unsigned short FPS; ///< Max frames per second supported by the device at this resolution
|
||||||
|
|
||||||
/// All zeros means a default/unspecified mode
|
/// All zeros means a default/unspecified mode
|
||||||
operator bool()
|
operator bool() const
|
||||||
{
|
{
|
||||||
return width || height || FPS;
|
return width || height || FPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator==(const VideoMode& other)
|
bool operator==(const VideoMode& other) const
|
||||||
{
|
{
|
||||||
return width == other.width
|
return width == other.width
|
||||||
&& height == other.height
|
&& height == other.height
|
||||||
|
|
Loading…
Reference in New Issue
Block a user