From 064c5246be14ae67921eda33d29a622e3ec9bb9f Mon Sep 17 00:00:00 2001
From: Krzysztof Konopko <krzysztof.konopko@gmail.com>
Date: Wed, 11 Sep 2013 07:13:07 +0200
Subject: [PATCH 1/2] Add IDirectFBSurface::SetRenderOptions()

---
 ++dfb/idirectfbsurface.cpp |    5 +++++
 include/idirectfbsurface.h |    2 ++
 2 files changed, 7 insertions(+)

diff --git a/++dfb/idirectfbsurface.cpp b/++dfb/idirectfbsurface.cpp
index 8c9cb07..2c4de1b 100644
--- a/++dfb/idirectfbsurface.cpp
+++ b/++dfb/idirectfbsurface.cpp
@@ -478,3 +478,8 @@ void IDirectFBSurface::Write( const void               *ptr,
      DFBCHECK( iface->Write (iface, rect, ptr, pitch) );
 }
 
+void IDirectFBSurface::SetRenderOptions (const DFBSurfaceRenderOptions &options)
+{
+     DFBCHECK( iface->SetRenderOptions (iface, options) );
+}
+
diff --git a/include/idirectfbsurface.h b/include/idirectfbsurface.h
index 94ce11d..66d6b26 100644
--- a/include/idirectfbsurface.h
+++ b/include/idirectfbsurface.h
@@ -206,6 +206,8 @@ public:
                                                            int                       pitch,
                                                            const DFBRectangle       *rect = NULL);
 
+     void                   PPDFB_API SetRenderOptions    (const DFBSurfaceRenderOptions &options);
+
      inline IDirectFBSurface PPDFB_API & operator = (const IDirectFBSurface& other){
           return IPPAny<IDirectFBSurface, IDirectFBSurface_C>::operator =(other);
      }
-- 
1.7.10.4

