]> git.tdb.fi Git - libs/gui.git/blobdiff - source/gbase/drawcontext.h
OpenGL can now be required as a package on all archs
[libs/gui.git] / source / gbase / drawcontext.h
index 54ae3b364a0323d3b417844b12bac90486a9a746..b21ac3cde57714bbdc8c05d75bf594a718ff808f 100644 (file)
@@ -35,8 +35,8 @@ public:
        ~DrawContext();
 
        Window &get_window() const { return window; }
-       unsigned get_depth() const { return image->bits_per_pixel; }
-       unsigned char *get_data() { return reinterpret_cast<unsigned char *>(image->data); }
+       unsigned get_depth() const;
+       unsigned char *get_data();
        void update();
 };