split glgsg into glmisc; expand on mesadisplay

This commit is contained in:
David Rose 2004-02-10 18:12:03 +00:00
parent ae685dcf4b
commit 42d159254e
2 changed files with 71 additions and 0 deletions

24
panda/src/glgsg/glgsg.cxx Normal file
View File

@ -0,0 +1,24 @@
// Filename: glgsg.cxx
// Created by: drose (09Feb04)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
// This is the actual .cxx file to include if you want to pick up
// any or all of the header files in this directory as compiled to use
// the "true" GL library.
#include "glgsg.h"
#include "glstuff_src.cxx"

47
panda/src/glgsg/glgsg.h Normal file
View File

@ -0,0 +1,47 @@
// Filename: glgsg.h
// Created by: drose (09Feb04)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#ifndef GLGSG_H
#define GLGSG_H
// This is the actual header file to include if you want to pick up
// any or all of the header files in this directory as compiled to use
// the "true" GL library.
#include "pandabase.h"
#include "config_glgsg.h"
#define GLP(name) gl##name
#define CLP(name) GL##name
#define CLASSPREFIX_QUOTED "GL"
#define CONFIGOBJ config_glgsg
#define GLCAT glgsg_cat
#define EXPCL_GL EXPCL_PANDAGL
#define EXPTP_GL EXPTP_PANDAGL
#ifdef WIN32_VC
// Must include windows.h before gl.h on NT
#include <windows.h>
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include "glstuff_src.h"
#endif // GLGSG_H