Panda hack to get the EasyBlend SDK working.  EasyBlend is not setting the active texture before using it, which is a bug in their code.  I also reordered the end_flip callback so that it comes before the buffer swap.