surfman 0.12.0

A cross-platform, low-level toolkit for GPU surface management
Documentation
1
2
3
4
5
6
7
8
9
10
11
// surfman/surfman/src/platform/macos/cgl/ffi.rs
//
//! FFI declarations not provided by the upstream `cgl` crate.

use cgl::CGLContextObj;

#[link(name = "OpenGL", kind = "framework")]
extern "C" {
    pub(crate) fn CGLRetainContext(ctx: CGLContextObj) -> CGLContextObj;
    pub(crate) fn CGLReleaseContext(ctx: CGLContextObj);
}