Jump to content
  • Advertisement
Sign in to follow this  

SDL_SetHint(SDL_HINT_VIDEO_HIGHDPI_DISABLED,"1") not working (on some machines)

This topic is 980 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

OK, I have this problem with some Win 8.1 machines that have HighDPI scaling enabled (not whole screen displayed, mouse coords mapped incorrectly).

If I set compatibility mode in the .exe file preferences it *always* work on all machines without exceptions (so it's about HighDPI).


I did SDL_SetHint(SDL_HINT_VIDEO_HIGHDPI_DISABLED,"1"), it returns SDL_TRUE. Now, it seems to be working on some Win 8.1 machines, but not all (I have access to such machine so I'm sure it's not working)...


No clue what's going on...



I'm using SDL 2.0.1 + OpenGL.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!