From 9954b36ec7348e4036e194e8fcd3cb4cd7322544 Mon Sep 17 00:00:00 2001 From: raven02 Date: Wed, 18 Mar 2015 22:30:47 +0800 Subject: [PATCH] Fix intel HD graphics crash --- rpcs3/Emu/RSX/GL/GLGSRender.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/GL/GLGSRender.cpp b/rpcs3/Emu/RSX/GL/GLGSRender.cpp index 02621598b8..5a47ec8a62 100644 --- a/rpcs3/Emu/RSX/GL/GLGSRender.cpp +++ b/rpcs3/Emu/RSX/GL/GLGSRender.cpp @@ -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);