• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

App config settings for desktop width and height result in incorrect window size.

Amon

Member
Joined
Nov 19, 2018
Messages
88
#GLFW_WINDOW_TITLE="Template"
#GLFW_WINDOW_WIDTH=1920
#GLFW_WINDOW_HEIGHT=1080
#GLFW_WINDOW_RESIZABLE=False
#GLFW_WINDOW_FULLSCREEN=False
#GLFW_WINDOW_SAMPLES=0 'Set to number of samples for multisampling (glfw3 only).
#GLFW_WINDOW_DECORATED=True 'Set to false to create a broderless window (glfw3 only).

#GLFW_MACOS_RETINA_ENABLED=False

Above are the app config settings I'm using. When I run the app though the window is huge, bigger than the laptop display of 2560x1600

I have no idea why. On windows it worked fine.
 
Argggh! Retina displays.

Ok. From what I've gathered retina displays work differently. I have no idea how to fix it except to divide the resolution by 2. It seems to fix it so that a 1920x1080 resolution works properly.

I set my appconfig settings to this. If there was a way to detect whether I am on a retinas display or not it would further make things easier but for now if the host is macos i put this.

Code:
#If HOST = "macos"
    #GLFW_WINDOW_WIDTH=2460/2           
    #GLFW_WINDOW_HEIGHT=1400/2
#Else
    #GLFW_WINDOW_WIDTH=1920           
    #GLFW_WINDOW_HEIGHT=1080
#End
 
How was it behaving when you tested it with this line? I am sure you did, or?

Cerberus:
#GLFW_MACOS_RETINA_ENABLED=True
 
Back
Top Bottom