Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool Window::IsVSync() const
- {
- return static_cast<bool>(m_WindowData.VSync);
- }
- enum class VSync : bool
- {
- Disable = false,
- Enable = true
- }
- VSync Window::IsVSync() const
- {
- return m_WindowData.VSync;
- }
- binary '<<': no operator found which takes a right-hand operand of type 'VSync' (or there is no acceptable conversion)
- std::cout << myWindow.IsVSync() << "n";
Add Comment
Please, Sign In to add comment