1
Window / Re: Title bar, mouse position, and mapPixelToCoords
« on: October 15, 2017, 07:05:33 am »A bit of an update. I tried the exact same exe on a different computer (Nvidia drivers) and it worked as expected -- the rectangle stuck to the mouse cursor, even with the title bar.
My primary dev machine is a Dell laptop with both Intel integrated graphics and an Nvidia chip. I forced it to use the Nvidia chip and everything works well. Switch back to Intel integrated and the scaling offset is there again.
There must be some sort of bug / oddity in the Intel drivers where things don't work well for some funky reason. I've been building SFML from source and tracing through the code when the app is behaving oddly and can't see anything in there that seems to relate to the behavior.
Am going to try to update my Intel drivers and see if that helps.
And, just for specifics, in this case the values returned by mapPixelToCoords are (as expected) the same as the values passed in, since I'm using the default view. There's no odd values coming back from there, the oddness seems to be in the final image generation on the window.