From: Sangjin Kim Date: Tue, 23 Apr 2013 12:03:20 +0000 (+0900) Subject: Remove unnecessary stuff when destroy context and surface on Windows. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~993 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3342e3d5a6b65373b81876178cc08cac7c867945;p=sdk%2Femulator%2Fqemu.git Remove unnecessary stuff when destroy context and surface on Windows. As context and surface are decoupled, also not related to current context, so no need to MakeCurrent(NULL) and destroy related surface when destroy context. N_SE-34325 got fixed. Signed-off-by: edwin.zhai Signed-off-by: fengqian.gao --- diff --git a/package/changelog b/package/changelog index 17b95d3068..a88eefbf65 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,6 @@ +* 1.5.32 +- Fix the slideshow problem of gallery app. +== Sangjin Kim 2013-04-23 * 1.5.29 - synchronization of display updating == GiWoong Kim 2013-04-17 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 2c4f3b8ca7..1cb22603a9 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version: 1.5.29 +Version: 1.5.32 Maintainer: Yeong-Kyoon Lee Source: emulator diff --git a/tizen/src/hw/gloffscreen_wgl.c b/tizen/src/hw/gloffscreen_wgl.c index 5f7b3cfda3..41fa29b42e 100644 --- a/tizen/src/hw/gloffscreen_wgl.c +++ b/tizen/src/hw/gloffscreen_wgl.c @@ -857,14 +857,6 @@ GloContext *glo_context_create(int formatFlags, GloContext *shareLists) { void glo_context_destroy(GloContext *context) { if (!context) return; - wglMakeCurrent( NULL, NULL ); - if( context->hPBuffer != NULL ) { - wglReleasePbufferDCARB( context->hPBuffer, context->hDC ); - wglDestroyPbufferARB( context->hPBuffer ); - } - if( context->hDC != NULL ) { - ReleaseDC( glo.hWnd, context->hDC ); - } if (context->hContext) { wglDeleteContext(context->hContext); } @@ -927,7 +919,6 @@ GloSurface *glo_surface_create(int width, int height, GloContext *context) { void glo_surface_destroy(GloSurface *surface) { if (!surface) return; - wglMakeCurrent( NULL, NULL ); if( surface->hPBuffer != NULL ) { wglReleasePbufferDCARB( surface->hPBuffer, surface->hDC ); wglDestroyPbufferARB( surface->hPBuffer );