This happened to me with my HP laptop as well. I solved it by going into the BiOS and changing the configurable graphics setting to "fixed"- after I did this my computer always uses one or the other and when I have it [the computer] set to "high performance" the game then will use the discrete card instead of the integrated.