From 914b959ef974e97d68e947a38b19f875d13c9ef2 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 22 Oct 2010 12:13:12 -0700 Subject: [PATCH] windows compilation fix --- include/mitsuba/hw/device.h | 2 +- include/mitsuba/hw/viewer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mitsuba/hw/device.h b/include/mitsuba/hw/device.h index 0d3bd076..37266627 100644 --- a/include/mitsuba/hw/device.h +++ b/include/mitsuba/hw/device.h @@ -115,7 +115,7 @@ private: /** \brief Abstract device event callback */ -class DeviceEventListener { +class MTS_EXPORT_HW DeviceEventListener { public: /** \brief Called when a device event occurs * @param pEvent The event data structure diff --git a/include/mitsuba/hw/viewer.h b/include/mitsuba/hw/viewer.h index e3569663..41067782 100644 --- a/include/mitsuba/hw/viewer.h +++ b/include/mitsuba/hw/viewer.h @@ -31,7 +31,7 @@ MTS_NAMESPACE_BEGIN * This class makes it possible to rapidly prototype simple OpenGL * applications, which can be started using the 'mtsutil' launcher. */ -class Viewer : public Utility, public DeviceEventListener { +class MTS_EXPORT_HW Viewer : public Utility, public DeviceEventListener { public: /// Construct a new viewer Viewer();