mirror of https://github.com/stella-emu/stella.git
Removed GL VBO option from the UI, since playing with it can
cause issues. Stella will always use VBO when available, and disable it otherwise. For those (few/none?) people that want to disable it, they can do it from the commandline. This option will disappear completely in Stella 4.0 anyway ... git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2403 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
c76f2313d2
commit
539edc656b
|
@ -201,12 +201,6 @@ VideoDialog::VideoDialog(OSystem* osystem, DialogContainer* parent,
|
|||
wid.push_back(myGLStretchCheckbox);
|
||||
ypos += lineHeight + 4;
|
||||
|
||||
// Use VBO in OpenGL
|
||||
myUseVBOCheckbox = new CheckboxWidget(myTab, font, xpos, ypos,
|
||||
"GL VBO");
|
||||
wid.push_back(myUseVBOCheckbox);
|
||||
ypos += lineHeight + 4;
|
||||
|
||||
// Use sync to vblank in OpenGL
|
||||
myUseVSyncCheckbox = new CheckboxWidget(myTab, font, xpos, ypos,
|
||||
"GL VSync");
|
||||
|
@ -275,7 +269,6 @@ VideoDialog::VideoDialog(OSystem* osystem, DialogContainer* parent,
|
|||
myPAspectRatioSlider->clearFlags(WIDGET_ENABLED);
|
||||
myPAspectRatioLabel->clearFlags(WIDGET_ENABLED);
|
||||
myGLStretchCheckbox->clearFlags(WIDGET_ENABLED);
|
||||
myUseVBOCheckbox->clearFlags(WIDGET_ENABLED);
|
||||
myUseVSyncCheckbox->clearFlags(WIDGET_ENABLED);
|
||||
#endif
|
||||
#ifndef WINDOWED_SUPPORT
|
||||
|
@ -356,10 +349,6 @@ void VideoDialog::loadConfig()
|
|||
myGLStretchCheckbox->setState(instance().settings().getBool("gl_fsmax"));
|
||||
myGLStretchCheckbox->setEnabled(gl);
|
||||
|
||||
// Use VBO (GL mode only)
|
||||
myUseVBOCheckbox->setState(instance().settings().getBool("gl_vbo"));
|
||||
myUseVBOCheckbox->setEnabled(gl);
|
||||
|
||||
// Use sync to vertical blank (GL mode only)
|
||||
myUseVSyncCheckbox->setState(instance().settings().getBool("gl_vsync"));
|
||||
myUseVSyncCheckbox->setEnabled(gl);
|
||||
|
@ -422,9 +411,6 @@ void VideoDialog::saveConfig()
|
|||
// GL stretch setting
|
||||
instance().settings().setBool("gl_fsmax", myGLStretchCheckbox->getState());
|
||||
|
||||
// Use VBO (GL mode only)
|
||||
instance().settings().setBool("gl_vbo", myUseVBOCheckbox->getState());
|
||||
|
||||
// Use sync to vertical blank (GL mode only)
|
||||
instance().settings().setBool("gl_vsync", myUseVSyncCheckbox->getState());
|
||||
|
||||
|
@ -461,7 +447,6 @@ void VideoDialog::setDefaults()
|
|||
myFullscreenPopup->setSelected("0", "");
|
||||
myColorLossCheckbox->setState(true);
|
||||
myGLStretchCheckbox->setState(true);
|
||||
myUseVBOCheckbox->setState(true);
|
||||
myUseVSyncCheckbox->setState(true);
|
||||
myUIMessagesCheckbox->setState(true);
|
||||
myCenterCheckbox->setState(false);
|
||||
|
|
|
@ -72,7 +72,6 @@ class VideoDialog : public Dialog
|
|||
PopUpWidget* myFullscreenPopup;
|
||||
CheckboxWidget* myColorLossCheckbox;
|
||||
CheckboxWidget* myGLStretchCheckbox;
|
||||
CheckboxWidget* myUseVBOCheckbox;
|
||||
CheckboxWidget* myUseVSyncCheckbox;
|
||||
CheckboxWidget* myUIMessagesCheckbox;
|
||||
CheckboxWidget* myCenterCheckbox;
|
||||
|
|
Loading…
Reference in New Issue