bugfix: workaround set texture directly without shader.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>