add osx iosurface opengl integration

This commit is contained in:
Palana
2013-12-23 16:34:56 +01:00
parent 221ed7d92b
commit 74aa1c466b
8 changed files with 149 additions and 0 deletions

View File

@@ -165,5 +165,9 @@ bool load_graphics_imports(struct gs_exports *exports, void *module,
GRAPHICS_IMPORT(shader_setval);
GRAPHICS_IMPORT(shader_setdefault);
/* OSX/Cocoa specific functions */
GRAPHICS_IMPORT_OPTIONAL(texture_create_from_iosurface);
GRAPHICS_IMPORT_OPTIONAL(texture_rebind_iosurface);
return success;
}