From 197b8752cc02e8a298aec3fa09df5faec743faf9 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Thu, 1 May 2014 20:43:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=8D=E5=9B=BE=E6=95=B0=E6=8D=AE=E7=9A=84?= =?UTF-8?q?=E5=86=99=E5=85=A5=E6=93=8D=E4=BD=9C=E6=94=B9=E4=B8=BA=E8=A6=86?= =?UTF-8?q?=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/output/win32.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/output/win32.c b/src/output/win32.c index 11155679..484de19f 100755 --- a/src/output/win32.c +++ b/src/output/win32.c @@ -329,6 +329,12 @@ static int Win32Screen_Destroy( void ) } static int Win32Screen_PutGraph( const LCUI_Graph *graph, LCUI_Pos pos ) +{ + Graph_Replace( &framebuffer, graph, pos ); + return 0; +} + +static int Win32Screen_MixGraph( const LCUI_Graph *graph, LCUI_Pos pos ) { Graph_Mix( &framebuffer, graph, pos ); return 0; @@ -394,6 +400,7 @@ void LCUIScreen_UseWin32( LCUI_Screen *screen ) screen->Destroy = Win32Screen_Destroy; screen->SetMode = Win32Screen_SetMode; screen->PutGraph = Win32Screen_PutGraph; + screen->MixGraph = Win32Screen_MixGraph; screen->CatchGraph = Win32Screen_CatchGraph; }