Fix intel HD graphics crash

This commit is contained in:
raven02 2015-03-18 22:30:47 +08:00
parent 903cb8d7e5
commit 9954b36ec7

View File

@ -1448,12 +1448,12 @@ void GLGSRender::OnInitThread()
{
m_context = m_frame->GetNewContext();
is_intel_vendor = strstr((const char*)glGetString(GL_VENDOR), "Intel");
m_frame->SetCurrent(m_context);
InitProcTable();
is_intel_vendor = strstr((const char*)glGetString(GL_VENDOR), "Intel");
glEnable(GL_TEXTURE_2D);
glEnable(GL_VERTEX_PROGRAM_POINT_SIZE);