Skip to content

Commit

Permalink
macOS: Build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 7af68bf commit 7728dd1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doomsday/apps/client/src/init_unix.cpp
Expand Up @@ -30,7 +30,7 @@
#include <de/App>

#include "de_base.h"
#include "dd_uinit.h"
#include "init_unix.h"

#ifdef __CLIENT__
# include "gl/sys_opengl.h"
Expand Down
19 changes: 11 additions & 8 deletions doomsday/libs/gui/src/graphics/glinfo.cpp
Expand Up @@ -31,7 +31,7 @@
#include <glbinding/Binding.h>

#if defined(DE_DEBUG)
# define DE_ENABLE_OPENGL_DEBUG_LOGGER
//# define DE_ENABLE_OPENGL_DEBUG_LOGGER
//# include <QOpenGLDebugLogger>
#endif

Expand All @@ -58,13 +58,16 @@ namespace de {
static GLInfo info;

#if defined(DE_ENABLE_OPENGL_DEBUG_LOGGER)
extern "C" void APIENTRY debugMessageCallback(gl::GLenum source,
gl::GLenum type,
gl::GLuint id,
gl::GLenum severity,
gl::GLsizei length,
const gl::GLchar *message,
const void *userParam)
#ifndef WIN32
# define APIENTRY
#endif
void APIENTRY debugMessageCallback(gl::GLenum source,
gl::GLenum type,
gl::GLuint id,
gl::GLenum severity,
gl::GLsizei length,
const gl::GLchar *message,
const void *userParam)
{
using namespace gl;

Expand Down

0 comments on commit 7728dd1

Please sign in to comment.