add PageFlipHandler
[android/external-libkmsxx.git] / libkms++ / crtc.h
index 1cbf4c45b55bdf0cf8e175c99cb8063a2994aadc..053c77d57c0c4bb027fe7d77149c72efaf397146 100644 (file)
@@ -25,7 +25,7 @@ public:
                      float src_x, float src_y, float src_w, float src_h);
 
        int page_flip(Framebuffer& fb, void *data);
-
+       int page_flip(Framebuffer& fb, PageFlipHandlerBase* data) { return page_flip(fb, (void*)data); }
 private:
        Crtc(Card& card, uint32_t id, uint32_t idx);
        ~Crtc();