Add native resolution detection

It could be useful, though currently using it is bad idea bacause our art is low resolution.
@dorkster do not forget to copy this into hardware renderer