forked from bartvdbraak/blender
fixed an ordering issue caused by previous commit
This commit is contained in:
parent
a8cb639f0b
commit
5b8b745cba
@ -91,15 +91,15 @@ BL_Shader::~BL_Shader()
|
||||
bool BL_Shader::LinkProgram()
|
||||
{
|
||||
#ifdef GL_ARB_shader_objects
|
||||
if(mError)
|
||||
goto programError;
|
||||
|
||||
|
||||
int vertlen = 0, fraglen=0, proglen=0;
|
||||
int vertstatus=0, fragstatus=0, progstatus=0;
|
||||
unsigned int tmpVert=0, tmpFrag=0, tmpProg=0;
|
||||
int char_len=0;
|
||||
|
||||
if(mError)
|
||||
goto programError;
|
||||
|
||||
if(!vertProg || !fragProg){
|
||||
spit("Invalid GLSL sources");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user