Qt

check texture size limitation before creating texture