CmGLUtil.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. -----------------------------------------------------------------------------
  3. This source file is part of OGRE
  4. (Object-oriented Graphics Rendering Engine)
  5. For the latest info, see http://ogre.sourgeforge.net/
  6. Copyright © 2000-2003 Steven J. Streeting
  7. Also see acknowledgements in Readme.html
  8. This program is free software; you can redistribute it and/or modify it under
  9. the terms of the GNU General Public License as published by the Free Software
  10. Foundation; either version 2 of the License, or (at your option) any later
  11. version.
  12. This program is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  14. FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  15. You should have received a copy of the GNU General Public License along with
  16. this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  17. Place - Suite 330, Boston, MA 02111-1307, USA, or go to
  18. http://www.gnu.org/copyleft/gpl.html.
  19. -----------------------------------------------------------------------------
  20. */
  21. #pragma once
  22. #include "GLX/CmGLXGLSupport.h"
  23. namespace CamelotEngine {
  24. inline GLSupport* getGLSupport()
  25. {
  26. return new GLXGLSupport();
  27. }
  28. };