Merge pull request #24 from austriancoder/master

mesatest_gles fixes
driver: fix rendering to texture levels>0 on pre-GC2000

Revert behavior in case of one pixel pipe.
build: add -pthread to default compiler and linker flags

Suggested by @kneo and @stefan-langenmaier at about the same time.