]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/Format.hpp
linker argument order for old gcc
[blank.git] / src / graphics / Format.hpp
index 26ebfe010ff8d08dc75a23a4e5dddf8608a1d3ca..194cc1c8c1c3241cee1c52f64e94b0d601823f72 100644 (file)
@@ -13,7 +13,12 @@ struct Format {
        GLenum type;
        GLenum internal;
 
-       void ReadPixelFormat(const SDL_PixelFormat &);
+       SDL_PixelFormat sdl_format;
+
+       Format() noexcept;
+       explicit Format(const SDL_PixelFormat &) noexcept;
+
+       bool Compatible(const Format &other) const noexcept;
 
 };