Skip to content

glViewport for RTT requires width and height to be double on mac #54

Open
@hukasu

Description

@hukasu

On my macbook I need to double the width and height passed to the second glViewport on the main loop (right before glUseProgram(quad_programID)), otherwise Suzanne is only rendered on the lower left of the screen.
Might be due to retina display.

I know that it might not be something that can be fixed here but having a warning on the code would be helpful to new students.

screen shot 2017-09-13 at 22 42 48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions