gsdx-ogl: set accurate_blend as default

Rendering is better and I think speed impact remains small.
This commit is contained in:
Gregory Hainaut 2015-05-23 15:10:04 +02:00
parent c507e816c2
commit 7f614401a6
4 changed files with 4 additions and 4 deletions

View File

@ -505,7 +505,7 @@ namespace GLLoader {
}
if (!found_GL_ARB_texture_barrier) {
if (theApp.GetConfig("accurate_blend", 0)) {
if (theApp.GetConfig("accurate_blend", 1)) {
fprintf(stderr, "Error GL_ARB_texture_barrier is not supported by your driver so you can't enable accurate_blend! Sorry.\n");
theApp.SetConfig("accurate_blend", 0);
}

View File

@ -289,7 +289,7 @@ void populate_hw_table(GtkWidget* hw_table)
GtkWidget* af_combo_box = CreateComboBoxFromVector(theApp.m_gs_max_anisotropy, "MaxAnisotropy", 1);
GtkWidget* paltex_check = CreateCheckBox("Allow 8 bits textures", "paltex");
GtkWidget* acc_blend_check = CreateCheckBox("Accurate Blend", "accurate_blend", false);
GtkWidget* acc_blend_check = CreateCheckBox("Accurate Blend", "accurate_blend", true);
GtkWidget* acc_date_check = CreateCheckBox("Accurate Date", "accurate_date", false);
GtkWidget* acc_cclip_check = CreateCheckBox("Accurate Color Clipping", "accurate_colclip", false);

View File

@ -29,7 +29,7 @@ GSRendererOGL::GSRendererOGL()
{
m_pixelcenter = GSVector2(-0.5f, -0.5f);
m_accurate_blend = theApp.GetConfig("accurate_blend", 0);
m_accurate_blend = theApp.GetConfig("accurate_blend", 1);
m_accurate_date = theApp.GetConfig("accurate_date", 0);
m_accurate_colclip = theApp.GetConfig("accurate_colclip", 0);

View File

@ -111,7 +111,7 @@ GSBlendStateOGL* GSDeviceOGL::CreateBlend(OMBlendSelector bsel, uint8 afix)
bs->SetRGB(m_blendMapD3D9[i].op, m_blendMapD3D9[i].src, m_blendMapD3D9[i].dst);
if (m_blendMapD3D9[i].bogus & A_MAX) {
if (!theApp.GetConfig("accurate_blend", 0)) {
if (!theApp.GetConfig("accurate_blend", 1)) {
bs->EnableBlend();
if (bsel.a == 0)
bs->SetRGB(m_blendMapD3D9[i].op, GL_ONE, m_blendMapD3D9[i].dst);