From a168434f38ffeb76b1098b8956fa7ddb3632cd0d Mon Sep 17 00:00:00 2001
From: Krzysztof Konopko <kris@konagma.com>
Date: Fri, 6 Sep 2013 15:48:21 +0200
Subject: [PATCH] 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 61689e8..6194c5e 100644
--- a/++dfb/idirectfbsurface.cpp
+++ b/++dfb/idirectfbsurface.cpp
@@ -464,3 +464,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 6404dbc..86c627b 100644
--- a/include/idirectfbsurface.h
+++ b/include/idirectfbsurface.h
@@ -200,6 +200,8 @@ public:
                                                  int                       pitch,
                                                  const DFBRectangle       *rect = NULL);
 
+     void                   SetRenderOptions    (const DFBSurfaceRenderOptions &options);
+
      inline IDirectFBSurface& operator = (const IDirectFBSurface& other){
           return IPPAny<IDirectFBSurface, IDirectFBSurface_C>::operator =(other);
      }
-- 
1.7.10.4

