Billybob, adding glBindTexture does remove the issue of the shader getting all screwed up, thanks. The example I took the code from only calls glBindTexture once, any idea why its different in Allegro?
Elias, I had al_set_target_bitmap() and al_set_current_opengl_context() in the code as an attempt to solve the issue, including them or excluding them doesn't seem to do anything. I added them in because I figured I wasn't being explicit enough in setting what opengl should use.
I still cant get my sprites to appear over the star field. Commenting out render() and starbatch.draw() gives me a blank screen, well commenting out setup_background(), lets me see me see my sprites. This would seem to indicate to me something in setup_background is the issue, but I really don't see anything in their that would cause my sprites not to be drawn.
thank you for the replies