コード例 #1
0
ファイル: azure-c.cpp プロジェクト: aydinkim/rust-azure
extern "C" AzSkiaGrGLSharedSurfaceRef
AzSkiaSharedGLContextStealSurface(AzSkiaSharedGLContextRef aGLContext) {
    SkNativeSharedGLContext *sharedGLContext = static_cast<SkNativeSharedGLContext*>(aGLContext);
    return reinterpret_cast<void*>(sharedGLContext->stealSurface());
}