mirror of https://github.com/stella-emu/stella.git
Oops, I decided to comment out the gl_accel stuff for now, and not use
SDL_GL_ACCELERATED_VISUAL at all. It doesn't make a difference for Nvidia and Intel, and only seems to break things for ATI. So better to forget about it for now. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1680 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
96f0f6a304
commit
787f8598da
|
@ -631,14 +631,14 @@
|
||||||
<td>OpenGL mode only. Enable GL_TEXTURE_RECTANGLE extension. This causes
|
<td>OpenGL mode only. Enable GL_TEXTURE_RECTANGLE extension. This causes
|
||||||
problems for some people using ATI video cards.</td>
|
problems for some people using ATI video cards.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!--
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-gl_accel <1|0></pre></td>
|
<td><pre>-gl_accel <1|0></pre></td>
|
||||||
<td>OpenGL mode only. Use SDL_GL_ACCELERATED_VISUAL hint when creating
|
<td>OpenGL mode only. Use SDL_GL_ACCELERATED_VISUAL hint when creating
|
||||||
the SDL window. This causes problems for some people using ATI
|
the SDL window. This causes problems for some people using ATI
|
||||||
video cards, in which case it should be set to false.</td>
|
video cards, in which case it should be set to false.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
-->
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-tia_filter <filter></pre></td>
|
<td><pre>-tia_filter <filter></pre></td>
|
||||||
<td>Use the specified filter while in TIA/emulation mode. Currently,
|
<td>Use the specified filter while in TIA/emulation mode. Currently,
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: FrameBufferGL.cxx,v 1.140 2009-03-12 15:57:41 stephena Exp $
|
// $Id: FrameBufferGL.cxx,v 1.141 2009-03-12 16:04:08 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#ifdef DISPLAY_OPENGL
|
#ifdef DISPLAY_OPENGL
|
||||||
|
@ -252,8 +252,8 @@ bool FrameBufferGL::setVidMode(VideoMode& mode)
|
||||||
SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, myRGB[2] );
|
SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, myRGB[2] );
|
||||||
SDL_GL_SetAttribute( SDL_GL_ALPHA_SIZE, myRGB[3] );
|
SDL_GL_SetAttribute( SDL_GL_ALPHA_SIZE, myRGB[3] );
|
||||||
SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
|
SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
|
||||||
if(myOSystem->settings().getBool("gl_accel"))
|
// if(myOSystem->settings().getBool("gl_accel"))
|
||||||
SDL_GL_SetAttribute( SDL_GL_ACCELERATED_VISUAL, 1 );
|
// SDL_GL_SetAttribute( SDL_GL_ACCELERATED_VISUAL, 1 );
|
||||||
|
|
||||||
// There's no guarantee this is supported on all hardware
|
// There's no guarantee this is supported on all hardware
|
||||||
// We leave it to the user to test and decide
|
// We leave it to the user to test and decide
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: Settings.cxx,v 1.164 2009-03-12 15:57:41 stephena Exp $
|
// $Id: Settings.cxx,v 1.165 2009-03-12 16:04:08 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
@ -46,7 +46,7 @@ Settings::Settings(OSystem* osystem)
|
||||||
setInternal("gl_lib", "libGL.so");
|
setInternal("gl_lib", "libGL.so");
|
||||||
setInternal("gl_vsync", "false");
|
setInternal("gl_vsync", "false");
|
||||||
setInternal("gl_texrect", "false");
|
setInternal("gl_texrect", "false");
|
||||||
setInternal("gl_accel", "true");
|
// setInternal("gl_accel", "true");
|
||||||
|
|
||||||
// Framebuffer-related options
|
// Framebuffer-related options
|
||||||
setInternal("tia_filter", "zoom2x");
|
setInternal("tia_filter", "zoom2x");
|
||||||
|
@ -305,7 +305,7 @@ void Settings::usage()
|
||||||
<< " -gl_fsmax <1|0> Stretch GL image in fullscreen emulation mode\n"
|
<< " -gl_fsmax <1|0> Stretch GL image in fullscreen emulation mode\n"
|
||||||
<< " -gl_vsync <1|0> Enable synchronize to vertical blank interrupt\n"
|
<< " -gl_vsync <1|0> Enable synchronize to vertical blank interrupt\n"
|
||||||
<< " -gl_texrect <1|0> Enable GL_TEXTURE_RECTANGLE extension\n"
|
<< " -gl_texrect <1|0> Enable GL_TEXTURE_RECTANGLE extension\n"
|
||||||
<< " -gl_accel <1|0> Enable SDL_GL_ACCELERATED_VISUAL\n"
|
// << " -gl_accel <1|0> Enable SDL_GL_ACCELERATED_VISUAL\n"
|
||||||
<< endl
|
<< endl
|
||||||
#endif
|
#endif
|
||||||
<< " -tia_filter <filter> Use the specified filter in emulation mode\n"
|
<< " -tia_filter <filter> Use the specified filter in emulation mode\n"
|
||||||
|
|
Loading…
Reference in New Issue