Fix pbuffer bug on MAC.
authorSangjin Kim <sangjin3.kim@samsung.com>
Thu, 11 Apr 2013 10:55:34 +0000 (19:55 +0900)
committerSangjin Kim <sangjin3.kim@samsung.com>
Thu, 11 Apr 2013 10:56:20 +0000 (19:56 +0900)
Change-Id: I8b0fb616409e965f5b4c786bf7be7ebab5817534
Signed-off-by: Sangjin Kim <sangjin3.kim@samsung.com>
package/changelog
package/pkginfo.manifest
tizen/src/hw/gloffscreen_agl.c

index 98eeb81c1131c5c951f6b3a0af395479cd6f789e..d932dda1640049e30ced01cd884e4d44631c53b0 100644 (file)
@@ -1,3 +1,6 @@
+* 1.5.26
+- Add glFinish() after AGL function aglTexImagePBuffer() cause of pbuffer bug on MAC os.
+== Sangjin Kim <sangjin3.kim@samsung.com> 2013-04-11
 * 1.5.25
 - Do not exit if log directory is deleted on runtime.
 == Seokyeon Hwang <syeon.hwang@samsung.com> 2013-04-10
index d4c35672a483b17c42b42fd3887ba344e4a48c92..961b4fc3aa4dccb4806cbd43ede086f0b1548c1c 100644 (file)
@@ -1,4 +1,4 @@
-Version: 1.5.25
+Version: 1.5.26
 Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
 Source: emulator
 
index c950c281d3c21ada247888806605e095275989dc..d71f9f6f6af159c0d252324925f2a13f16496332 100644 (file)
@@ -350,6 +350,7 @@ void glo_surface_as_texture(GloContext *ctxt, GloSurface *surface)
        if (aglTexImagePBuffer(ctxt->context, surface->pbuffer, GL_BACK) == GL_FALSE)
                fprintf(stderr, "aglTexImagePBuffer failed: %s", aglErrorString(aglGetError())); 
 
+       glFinish();
 #endif
 }