Skip to content

Commit

Permalink
Fixed|Windows: Missing exports and OpenGLGL API callback
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 26, 2014
1 parent 0acbb96 commit 1158298
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doomsday/libappfw/include/de/framework/basewindow.h
Expand Up @@ -37,7 +37,7 @@ class WindowTransform;
* will override the built-in transformation. The built-in transformation specifies an
* "identity" transformation that doesn't differ from the logical layout.
*/
class BaseWindow : public PersistentCanvasWindow
class LIBAPPFW_PUBLIC BaseWindow : public PersistentCanvasWindow
{
public:
BaseWindow(String const &id);
Expand Down
3 changes: 2 additions & 1 deletion doomsday/libappfw/include/de/framework/vrwindowtransform.h
Expand Up @@ -20,14 +20,15 @@
#ifndef LIBAPPFW_VRWINDOWTRANSFORM_H
#define LIBAPPFW_VRWINDOWTRANSFORM_H

#include "../libappfw.h"
#include "../WindowTransform"

namespace de {

/**
* Window content transformation for virtual reality.
*/
class VRWindowTransform : public WindowTransform
class LIBAPPFW_PUBLIC VRWindowTransform : public WindowTransform
{
public:
VRWindowTransform(BaseWindow &window);
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libappfw/include/de/framework/windowsystem.h
Expand Up @@ -41,7 +41,7 @@ namespace de {
*
* @ingroup gui
*/
class WindowSystem : public System
class LIBAPPFW_PUBLIC WindowSystem : public System
{
public:
/// Required/referenced Window instance is missing. @ingroup errors
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libappfw/include/de/widgets/tabwidget.h
Expand Up @@ -32,7 +32,7 @@ namespace de {
* The widget sets its own height based on the height of the tab buttons. Tab buttons
* are centered in the width of the widget.
*/
class TabWidget : public GuiWidget
class LIBAPPFW_PUBLIC TabWidget : public GuiWidget
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion doomsday/libdeng2/include/de/data/bitfield.h
Expand Up @@ -48,7 +48,7 @@ class DENG2_PUBLIC BitField
/**
* Metadata about the elements of a bit field.
*/
class Elements
class DENG2_PUBLIC Elements
{
public:
Elements();
Expand Down
10 changes: 8 additions & 2 deletions doomsday/libgui/src/glinfo.cpp
Expand Up @@ -30,9 +30,15 @@ namespace de {

static GLInfo info;

#ifdef WIN32
# define GL_CALL APIENTRY
#else
# define GL_CALL
#endif

#ifdef GL_ARB_debug_output
static void glDebugOut(GLenum source, GLenum type, GLuint id, GLenum severity,
GLsizei length, GLchar const *message, void const *userParam)
static void GL_CALL glDebugOut(GLenum source, GLenum type, GLuint id, GLenum severity,
GLsizei length, GLchar const *message, GLvoid *userParam)
{
DENG2_UNUSED(source);
DENG2_UNUSED(type);
Expand Down

0 comments on commit 1158298

Please sign in to comment.