28 #ifndef __GLPrerequisites_H__ 29 #define __GLPrerequisites_H__ 38 class GLTextureManager;
43 class GLHardwarePixelBuffer;
51 #if OGRE_THREAD_SUPPORT == 1 55 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 56 #if !defined( __MINGW32__ ) 57 # define WIN32_LEAN_AND_MEAN 59 # define NOMINMAX // required to stop windows.h messing up std::min 65 # include <GL/wglew.h> 67 #elif OGRE_PLATFORM == OGRE_PLATFORM_LINUX 70 # define GL_GLEXT_PROTOTYPES 71 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE 73 # include <OpenGL/glu.h> 76 #if OGRE_THREAD_SUPPORT == 1 78 GLEWContext * glewGetContext();
80 # if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 82 WGLEWContext * wglewGetContext();
88 #if !defined( _CRT_SECURE_NO_DEPRECATE ) 89 #define _CRT_SECURE_NO_DEPRECATE 92 #if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32) && !defined(__MINGW32__) && !defined(OGRE_STATIC_LIB) 93 # ifdef OGRE_GLPLUGIN_EXPORTS 94 # define _OgreGLExport __declspec(dllexport) 96 # if defined( __MINGW32__ ) 97 # define _OgreGLExport 99 # define _OgreGLExport __declspec(dllimport) 102 #elif defined ( OGRE_GCC_VISIBILITY ) 103 # define _OgreGLExport __attribute__ ((visibility("default"))) 105 # define _OgreGLExport 108 #endif //#ifndef __GLPrerequisites_H__ SharedPtr< GLGpuProgram > GLGpuProgramPtr
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
Reference-counted shared pointer, used for objects where implicit destruction is required.
SharedPtr< GLTexture > GLTexturePtr