mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
This lets us see stuff with GLSL shaders. Just need to take care of some compile errors now.
This commit is contained in:
parent
33c24f0a15
commit
ed18b82d2f
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,6 @@ GLuint PixelShaderCache::GetColorMatrixProgram()
|
|||
|
||||
void PixelShaderCache::Init()
|
||||
{
|
||||
glEnable(GL_FRAGMENT_PROGRAM_ARB);
|
||||
ShaderEnabled = true;
|
||||
CurrentShader = 0;
|
||||
last_entry = NULL;
|
||||
|
@ -87,6 +86,7 @@ void PixelShaderCache::Init()
|
|||
pSetPSConstant4fv = SetCGPSConstant4fv;
|
||||
pSetMultiPSConstant4fv = SetMultiCGPSConstant4fv;
|
||||
pCompilePixelShader = CompileCGPixelShader;
|
||||
glEnable(GL_FRAGMENT_PROGRAM_ARB);
|
||||
}
|
||||
|
||||
glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, (GLint *)&s_nMaxPixelInstructions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue