I use ofGetWindowWidth() in my code, it is working correctly on my Lenovo X1 giving me the total width of my screen, but when I deploy this code on a Surface2 pro device, the image was approx. 80% of the screen width.
What's wrong, what I missed ?
the code I used:
windowDepthRatio = (float)ofGetWindowWidth() / (float)depthFrameDescription->Width;
I use ofGetWindowWidth() in my code, it is working correctly on my Lenovo X1 giving me the total width of my screen, but when I deploy this code on a Surface2 pro device, the image was approx. 80% of the screen width. What's wrong, what I missed ?
the code I used: windowDepthRatio = (float)ofGetWindowWidth() / (float)depthFrameDescription->Width;
Thanks eric