Added alpha native resolution detection functionality in window.c