| 1 | /*************************************************************************** |
| 2 | extensionmanager.h - description |
| 3 | ------------------- |
| 4 | begin : august 15th, 2008 |
| 5 | copyright : (C) 2006-2008 by Duong Khang NGUYEN |
| 6 | email : neoneurone @ gmail com |
| 7 | |
| 8 | $Id: extensionmanager.h 375 2008-10-28 14:47:15Z neoneurone $ |
| 9 | ***************************************************************************/ |
| 10 | |
| 11 | /*************************************************************************** |
| 12 | * * |
| 13 | * This program is free software; you can redistribute it and/or modify * |
| 14 | * it under the terms of the GNU General Public License as published by * |
| 15 | * the Free Software Foundation; either version 2 of the License, or * |
| 16 | * any later version. * |
| 17 | * * |
| 18 | ***************************************************************************/ |
| 19 | |
| 20 | #ifndef _OPENCITY_EXTENSIONMANAGER_H_ |
| 21 | #define _OPENCITY_EXTENSIONMANAGER_H_ 1 |
| 22 | |
| 23 | #include "main.h" |
| 24 | |
| 25 | //======================================================================== |
| 26 | /** Handles OpenGL extensions |
| 27 | */ |
| 28 | class ExtensionManager { |
| 29 | public: |
| 30 | ExtensionManager(); |
| 31 | ~ExtensionManager(); |
| 32 | |
| 33 | bool Load(void); |
| 34 | |
| 35 | //======================================================================== |
| 36 | // OpengGL 1.2 extensions |
| 37 | //======================================================================== |
| 38 | PFNGLTEXIMAGE3DEXTPROC glTexImage3D; |
| 39 | |
| 40 | private: |
| 41 | bool _bInitialized; |
| 42 | }; |
| 43 | |
| 44 | #endif |