This is a temporary fix to avoid crashing while
trying to query for supported extensions on platforms
other than X.
bool SharedPlatformSurfaceTizen::supportsLockSurfaceExtension()
{
+#if PLATFORM(X11)
static bool extSupportQueried = false;
static bool supportLockSurfaceExt = false;
supportLockSurfaceExt = GLPlatformContext::supportsEGLExtension(display, "EGL_KHR_lock_surface");
return supportLockSurfaceExt;
+#else
+ return false;
+#endif
}
SharedPlatformSurfaceTizen::SharedPlatformSurfaceTizen(const IntSize& size, bool lockable, bool hasAlpha, bool hasDepth, bool hasStencil)