New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High Resolution Capable not working correctly #6068
Comments
Any updates on this? |
it looks like this might be related to a previous issue #6032 i think it's also related to this bug that happens when the high resolution switch is turned on: #include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup() {
ofBackground(0);
}
void update() {
}
void draw() {
ofSetColor(255);
ofDrawRectangle(0,0,100,100);
}
};
int main() {
ofSetupOpenGL(1920, 1080, OF_WINDOW);
ofRunApp(new ofApp());
} expected behavior: draw rectangle at top left corner. actual behavior: |
Hi, |
First of all, when I set
High Resolution Capable
toYES
inopenFrameworks-Info.plist
file, the window shows up in half size than the size it was whenHigh Resolution Capable
was set toNO
and this is the problem I can live with.However, when I set the window width to be larger than my Mac Book Pro's non-retina screen resolution(1440x900), suddenly the width of the window gets as big as the screen. (the window width becomes 2 times bigger when I change width to 1441 from 1440)
I assume there's a code that compares the window dimensions with the screen dimensions so the window won't get bigger than the screen size. But I think one made a mistake by using the non-retina resolution instead of retina.
The problem only happens with OF 0.10.0 and it works fine with OF 0.9.8.
Can any Mac users confirm this issue? How can we fix this?
The text was updated successfully, but these errors were encountered: