Mesa (master): include: fix export in Haiku OpenGL kit headers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jan 10 03:13:33 UTC 2021


Module: Mesa
Branch: master
Commit: 17900983e012db32d6241649bad612f45102c1ec
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17900983e012db32d6241649bad612f45102c1ec

Author: X512 <danger_mail at list.ru>
Date:   Mon Jan 27 14:40:06 2020 +0900

include: fix export in Haiku OpenGL kit headers

Reviewed-by: Alexander von Gluck IV <kallisti5 at unixzen.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>

---

 include/HaikuGL/GLRenderer.h | 2 +-
 include/HaikuGL/GLView.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/HaikuGL/GLRenderer.h b/include/HaikuGL/GLRenderer.h
index a93113b171d..166a5fa8ecf 100644
--- a/include/HaikuGL/GLRenderer.h
+++ b/include/HaikuGL/GLRenderer.h
@@ -20,7 +20,7 @@ class GLRendererRoster;
 
 typedef unsigned long renderer_id;
 
-class BGLRenderer
+class _EXPORT BGLRenderer
 {
 							// Private unimplemented copy constructors
 							BGLRenderer(const BGLRenderer &);
diff --git a/include/HaikuGL/GLView.h b/include/HaikuGL/GLView.h
index b848578f67a..a1dd944aad5 100644
--- a/include/HaikuGL/GLView.h
+++ b/include/HaikuGL/GLView.h
@@ -39,7 +39,7 @@ struct glview_direct_info;
 class BGLRenderer;
 class GLRendererRoster;
 
-class BGLView : public BView {
+class _EXPORT BGLView : public BView {
 public:
 							BGLView(BRect rect, const char* name,
 								ulong resizingMode, ulong mode,



More information about the mesa-commit mailing list