mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
little commit for developers:
patch/hack to make dolphin work under virtual box using Linux guest tested under gentoo and virtualbox 3.2.8 with 3d acceleration on git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6262 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
31c7fb7a33
commit
c203cd5dae
3 changed files with 9 additions and 4 deletions
|
@ -83,6 +83,7 @@ void VertexShaderCache::Init()
|
|||
s_displayCompileAlert = true;
|
||||
|
||||
glGetProgramivARB(GL_VERTEX_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB, (GLint *)&s_nMaxVertexInstructions);
|
||||
if (strstr((const char*)glGetString(GL_VENDOR), "Humper") != NULL) s_nMaxVertexInstructions = 4096;
|
||||
#if CG_VERSION_NUM == 2100
|
||||
if (strstr((const char*)glGetString(GL_VENDOR), "ATI") != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue