Skip to content

Commit

Permalink
OpenGL: Move some defines from libmythtv to libmythui.
Browse files Browse the repository at this point in the history
Refs #10126
  • Loading branch information
Mark Kendall committed Nov 4, 2011
1 parent 0ac3411 commit 32b21f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
12 changes: 0 additions & 12 deletions mythtv/libs/libmythtv/openglvideo.cpp
Expand Up @@ -10,19 +10,7 @@ extern "C" {
#include "libavcodec/avcodec.h"
}

// OpenGL headers
#define GL_GLEXT_PROTOTYPES
#ifdef USING_X11
#define GLX_GLXEXT_PROTOTYPES
#define XMD_H 1
#ifndef GL_ES_VERSION_2_0
#include <GL/gl.h>
#endif
#undef GLX_ARB_get_proc_address
#endif // USING_X11

#define LOC QString("GLVid: ")

#define COLOUR_UNIFORM "m_colourMatrix"

class OpenGLFilter
Expand Down
11 changes: 11 additions & 0 deletions mythtv/libs/libmythui/mythrender_opengl.h
Expand Up @@ -8,6 +8,17 @@
#include <QHash>
#include <QMutex>

#define GL_GLEXT_PROTOTYPES

#ifdef USING_X11
#define GLX_GLXEXT_PROTOTYPES
#define XMD_H 1
#ifndef GL_ES_VERSION_2_0
#include <GL/gl.h>
#endif
#undef GLX_ARB_get_proc_address
#endif // USING_X11

#ifdef _WIN32
#include <GL/glext.h>
#endif
Expand Down

0 comments on commit 32b21f3

Please sign in to comment.