Cleaned up the includes in the GraphicsWindowX11 header

This commit is contained in:
Robert Osfield
2006-12-21 12:24:20 +00:00
parent a56d273fe3
commit 8f9d2eeb46
2 changed files with 12 additions and 10 deletions

View File

@@ -19,18 +19,11 @@
#ifndef OSGVIEWER_GRAPHICSWINDOWX11
#define OSGVIEWER_GRAPHICSWINDOWX11 1
#include <osgViewer/Viewer>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xmd.h>
#include <X11/keysym.h>
#include <X11/Xmu/WinUtil.h>
#include <X11/cursorfont.h>
#include <osgViewer/GraphicsWindow>
#define GLX_GLXEXT_PROTOTYPES 1
#include <X11/X.h>
#include <GL/glx.h>
namespace osgViewer

View File

@@ -18,6 +18,15 @@
#include <osgViewer/GraphicsWindowX11>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xmd.h>
#include <X11/keysym.h>
#include <X11/Xmu/WinUtil.h>
#include <X11/cursorfont.h>
using namespace osgViewer;
class GraphicsContextX11 : public osg::GraphicsContext