James Hawkins wrote: >> context.c - same except in this case its just a return with noting else.. >> why do a goto why not just do the return? >> >> > > This is probably ok to change. I can only imagine that the original > author thought there might be cleanup needed at some later point. > The bigger question is why there is a huge if-else statement, and why this function is so large. Huge if-else statement = 2 sub-functions
Shader dirty constants - do shader internals really belong here ? Ivan