Fix bad textures after screen off / screen on on some devices

The problem was that texture ids are actually unsigned integers, but
we were treating them as signed integers.
1 file changed