mirror of https://github.com/stella-emu/stella.git
Some fixes for 64-bit Linux. I just have to hear back from Mark wrt
the OSX port, and if it goes fine then dynamic OpenGL support will be done. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@960 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
05c5225a6b
commit
ceac36923c
|
@ -641,6 +641,7 @@ if test "$_opengl" = auto ; then
|
|||
cat > $TMPC << EOF
|
||||
#include <string.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
int main(void) { return 0; }
|
||||
EOF
|
||||
cc_check $LDFLAGS $CXXFLAGS && _opengl=yes
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: FrameBufferGL.cxx,v 1.50 2006-01-14 22:29:34 stephena Exp $
|
||||
// $Id: FrameBufferGL.cxx,v 1.51 2006-01-14 23:50:43 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#ifdef DISPLAY_OPENGL
|
||||
|
@ -158,9 +158,6 @@ bool FrameBufferGL::loadFuncs(const string& library)
|
|||
p_glTexParameteri = (void(APIENTRY*)(GLenum, GLenum, GLint))
|
||||
SDL_GL_GetProcAddress("glTexParameteri"); if(!p_glTexParameteri) return false;
|
||||
|
||||
if(SDL_WasInit(SDL_INIT_VIDEO))
|
||||
SDL_QuitSubSystem(SDL_INIT_VIDEO);
|
||||
|
||||
return myFuncsLoaded = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue