Skip to content

Commit 851ca1b

Browse files
committed
Merge pull request #6 from ecoal95/destroy-pixel-format-error
Add CGLError return to CGLDestroyPixelFormat
2 parents f07028d + 466d34c commit 851ca1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cgl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ extern {
119119
pix_num: GLint,
120120
attrib: CGLPixelFormatAttribute,
121121
value: *mut GLint) -> CGLError;
122-
pub fn CGLDestroyPixelFormat(pix: CGLPixelFormatObj);
122+
pub fn CGLDestroyPixelFormat(pix: CGLPixelFormatObj) -> CGLError;
123123

124124
// Context functions
125125
pub fn CGLCreateContext(pix: CGLPixelFormatObj, share: CGLContextObj, ctx: *mut CGLContextObj) ->

0 commit comments

Comments
 (0)