terminal: create shader only when OpenGL is available
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 24 Jun 2012 08:27:46 +0000 (10:27 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 24 Jun 2012 08:27:46 +0000 (10:27 +0200)
commit036ace622784ec09c9d9d24012709d55335fcafa
tree146749ac780bf9c60a00ba91d6400c6756eae344
parent6f76f97e96f501724cad8720a0dcb8a7eb437d16
terminal: create shader only when OpenGL is available

If the video backend does not provide an OpenGL context, there is no need
to create the gl shaders. We then use the 2D blitting functions instead.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/terminal.c