mirror of https://github.com/stella-emu/stella.git
Updated the ROM properties to almost the end of 'S'.
First attempt to get OpenGL working in Vista; I think it's just a matter of reloading the OpenGL function pointers. And I don't think it affects other systems to do that anyway ... git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1376 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
31d75beb84
commit
063f763c75
|
@ -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.92 2007-09-13 15:35:56 stephena Exp $
|
||||
// $Id: FrameBufferGL.cxx,v 1.93 2007-09-16 23:18:26 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#ifdef DISPLAY_OPENGL
|
||||
|
@ -93,9 +93,6 @@ FrameBufferGL::~FrameBufferGL()
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
bool FrameBufferGL::loadFuncs(const string& library)
|
||||
{
|
||||
if(myFuncsLoaded)
|
||||
return true;
|
||||
|
||||
if(SDL_WasInit(SDL_INIT_VIDEO) == 0)
|
||||
SDL_Init(SDL_INIT_VIDEO);
|
||||
|
||||
|
@ -166,7 +163,7 @@ bool FrameBufferGL::loadFuncs(const string& library)
|
|||
p_glTexParameteri = (void(APIENTRY*)(GLenum, GLenum, GLint))
|
||||
SDL_GL_GetProcAddress("glTexParameteri"); if(!p_glTexParameteri) return false;
|
||||
|
||||
return myFuncsLoaded = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
@ -719,7 +716,4 @@ GUI::Surface* FrameBufferGL::createSurface(int width, int height) const
|
|||
return data ? new GUI::Surface(width, height, data) : NULL;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
bool FrameBufferGL::myFuncsLoaded = false;
|
||||
|
||||
#endif // DISPLAY_OPENGL
|
||||
|
|
|
@ -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.hxx,v 1.47 2007-09-03 18:37:22 stephena Exp $
|
||||
// $Id: FrameBufferGL.hxx,v 1.48 2007-09-16 23:18:26 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#ifndef FRAMEBUFFER_GL_HXX
|
||||
|
@ -35,7 +35,7 @@ class GUI::Font;
|
|||
This class implements an SDL OpenGL framebuffer.
|
||||
|
||||
@author Stephen Anthony
|
||||
@version $Id: FrameBufferGL.hxx,v 1.47 2007-09-03 18:37:22 stephena Exp $
|
||||
@version $Id: FrameBufferGL.hxx,v 1.48 2007-09-16 23:18:26 stephena Exp $
|
||||
*/
|
||||
class FrameBufferGL : public FrameBuffer
|
||||
{
|
||||
|
@ -282,9 +282,6 @@ class FrameBufferGL : public FrameBuffer
|
|||
|
||||
// Indicates that the texture has been modified, and should be redrawn
|
||||
bool myDirtyFlag;
|
||||
|
||||
// Indicates if the OpenGL functions have been properly loaded
|
||||
static bool myFuncsLoaded;
|
||||
};
|
||||
|
||||
#endif // DISPLAY_OPENGL
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue