Browse Source

Fix graphics device export header

Caused D3D11 library to fail on load.  Don't know how I didn't see this
sooner.
jp9000 11 years ago
parent
commit
7eec72245d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      libobs/graphics/device-exports.h

+ 8 - 0
libobs/graphics/device-exports.h

@@ -19,6 +19,10 @@
 
 #include <util/c99defs.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 EXPORT const char *device_preprocessor_name(void);
 EXPORT device_t device_create(struct gs_init_data *data);
 EXPORT void device_destroy(device_t device);
@@ -120,3 +124,7 @@ EXPORT void device_frustum(device_t device, float left, float right,
 		float top, float bottom, float znear, float zfar);
 EXPORT void device_projection_push(device_t device);
 EXPORT void device_projection_pop(device_t device);
+
+#ifdef __cplusplus
+}
+#endif