From 97b5f227669651bc71328296e95df386a31ddf7b Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 2 May 2008 12:37:17 +0000 Subject: Replaced OpenGL12 with SDL's gl/glu/glext units because OpenGL12 was removed from SDL (several years ago? Last update was done in 2004). In addition OpenGL12 was very buggy (see last commit). The new units support OpenGL up to version 2.0 (extensions must be loaded first, see UGraphic.LoadOpenGLExtensions). At the moment, only 1.2 extensions are loaded. Some constants, that were introduced in OpenGL 1.2 and above (like GL_BGR or GL_CLAMP_TO_EDGE) are in glext.pas, so check this file first for missing constants. The MacOS build depends on OpenGL12.pas but has its own file in the MacOSX/Wrapper folder instead of using the JEDI-SDL one. Sorry, that I broke MacOSX build for now but it should be no problem to get this working again. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1052 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.rst | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.rst (limited to 'Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.rst') diff --git a/Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.rst b/Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.rst deleted file mode 100644 index 3ecbe3f1..00000000 --- a/Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.rst +++ /dev/null @@ -1,26 +0,0 @@ - -# hash value = 79191886 -opengl12.srcalreadyactive='Rendering context already active in another th'+ -'read.' - - -# hash value = 191308692 -opengl12.smakecurrentfailed='wglMakeCurrent failed' - - -# hash value = 214729876 -opengl12.sdeletecontextfailed='wglDeleteContext failed' - - -# hash value = 230190814 -opengl12.scontextinuse='Cannot delete rendering context. It is still in u'+ -'se by another thread.' - - -# hash value = 258732735 -opengl12.sdefaultgllibrary='libGL.so' - - -# hash value = 113317743 -opengl12.sdefaultglulibrary='libGLU.so' - -- cgit v1.2.3