Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit f9d4aa4

Browse files
Add missing CGDisplayCreateImage() function.
1 parent 93b2636 commit f9d4aa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/display.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ extern {
7676
pub fn CGDisplayPixelsHigh(display: CGDirectDisplayID) -> libc::size_t;
7777
pub fn CGDisplayPixelsWide(display: CGDirectDisplayID) -> libc::size_t;
7878
pub fn CGDisplayBounds(display: CGDirectDisplayID) -> CGRect;
79+
pub fn CGDisplayCreateImage(display: CGDirectDisplayID) -> CGImageRef;
7980

8081
// mouse stuff
8182
pub fn CGDisplayHideCursor(display: CGDirectDisplayID) -> CGError;

0 commit comments

Comments
 (0)