Move create_tex_rect() into output specific code.
Move create_tex_rect() into output specific code.

In support of more complicated shader programs, move the code that
 creates the textured rectangle that hold the rendered image into the
 output specific code inside the switch statement.

negge/jpeg_gpu,negge/jpeg_gpu