Change texture even on clearmode

This fixes the missing/wrong texure on the integerdrawing demo, which does sth like:
```
while(true)
 clearbuffers()
 drawarray()
 enable/disable(texture)
```