summaryrefslogtreecommitdiff
path: root/client/xvaccelrenderer.cc
diff options
context:
space:
mode:
authordeva <deva>2006-04-19 14:13:11 +0000
committerdeva <deva>2006-04-19 14:13:11 +0000
commit1b68dd554e2e238f499ebfd12c222263fe050bd2 (patch)
treefa9fe9e22b232db22a7bf3d45f7d5a4b6825ed7c /client/xvaccelrenderer.cc
parenta6aaea79af5c166bcaad26edf6e0f8354f4d2b0b (diff)
*** empty log message ***
Diffstat (limited to 'client/xvaccelrenderer.cc')
-rw-r--r--client/xvaccelrenderer.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/client/xvaccelrenderer.cc b/client/xvaccelrenderer.cc
index 4ba8a9f..984c57a 100644
--- a/client/xvaccelrenderer.cc
+++ b/client/xvaccelrenderer.cc
@@ -30,28 +30,24 @@
#define VERBOSE_XV
//________________Wrapper around Xv_______________
-XvAccelRender::XvAccelRender( void )
+XvAccelRender::XvAccelRender(QWidget *window, uint32_t w, uint32_t h)
{
xvimage = NULL;
-}
-uint8_t XvAccelRender::init(QWidget *window, uint32_t w, uint32_t h)
-{
#ifdef VERBOSE_XV
printf("Xv start\n");
#endif
width = w;
height = h;
- return GUI_XvInit(window, w, h);
+ GUI_XvInit(window, w, h);
}
-uint8_t XvAccelRender::end(void)
+XvAccelRender::~XvAccelRender()
{
GUI_XvEnd( );
#ifdef VERBOSE_XV
printf("Xv end\n");
#endif
- return 1;
}
char *XvAccelRender::getDisplayData()