mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
merge branch
This commit is contained in:
commit
07135570f4
32 changed files with 492 additions and 894 deletions
|
|
@ -647,10 +647,15 @@ void GLGSRender::OnInitThread()
|
|||
glEnable(GL_TEXTURE_2D);
|
||||
glEnable(GL_SCISSOR_TEST);
|
||||
|
||||
#ifdef _WIN32
|
||||
glSwapInterval(Ini.GSVSyncEnable.GetValue() ? 1 : 0);
|
||||
|
||||
glGenTextures(1, &g_depth_tex);
|
||||
glGenTextures(1, &g_flip_tex);
|
||||
#else
|
||||
if (GLXDrawable drawable = glXGetCurrentDrawable())
|
||||
glXSwapIntervalEXT(glXGetCurrentDisplay(), drawable, Ini.GSVSyncEnable.GetValue() ? 1 : 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
void GLGSRender::OnExitThread()
|
||||
|
|
@ -962,7 +967,7 @@ void GLGSRender::ExecCMD()
|
|||
if(m_set_depth_bounds)
|
||||
{
|
||||
//ConLog.Warning("glDepthBounds(%f, %f)", m_depth_bounds_min, m_depth_bounds_max);
|
||||
glDepthBounds(m_depth_bounds_min, m_depth_bounds_max);
|
||||
glDepthBoundsEXT(m_depth_bounds_min, m_depth_bounds_max);
|
||||
checkForGlError("glDepthBounds");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue