~ Initial SDL2 implementation
Limitation - Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details - SDL2 window doesn't supports async window since the API isn't fitting for now - Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
This commit is contained in:
@@ -32,12 +32,12 @@ namespace Nz
|
||||
static const std::vector<VideoMode>& GetFullscreenModes();
|
||||
};
|
||||
|
||||
bool operator==(const VideoMode& left, const VideoMode& right);
|
||||
bool operator!=(const VideoMode& left, const VideoMode& right);
|
||||
bool operator<(const VideoMode& left, const VideoMode& right);
|
||||
bool operator<=(const VideoMode& left, const VideoMode& right);
|
||||
bool operator>(const VideoMode& left, const VideoMode& right);
|
||||
bool operator>=(const VideoMode& left, const VideoMode& right);
|
||||
bool NAZARA_PLATFORM_API operator==(const VideoMode& left, const VideoMode& right);
|
||||
bool NAZARA_PLATFORM_API operator!=(const VideoMode& left, const VideoMode& right);
|
||||
bool NAZARA_PLATFORM_API operator<(const VideoMode& left, const VideoMode& right);
|
||||
bool NAZARA_PLATFORM_API operator<=(const VideoMode& left, const VideoMode& right);
|
||||
bool NAZARA_PLATFORM_API operator>(const VideoMode& left, const VideoMode& right);
|
||||
bool NAZARA_PLATFORM_API operator>=(const VideoMode& left, const VideoMode& right);
|
||||
}
|
||||
|
||||
#endif // NAZARA_VIDEOMODE_HPP
|
||||
|
||||
Reference in New Issue
Block a user