Skip to content

fullScreen() not working on a second display with P2D or P3D #352

Closed
@processing-bot

Description

@processing-bot

In GitLab by @mrbbp on Jan 19, 2022, 16:29

Description

fullScreen(P3D, 2); or fullScreen(P2D, 2);

if no renderer declared, it's impossible to use "texture"

void setup() {
  img = loadImage("img.png");
}

void draw() {
  texture(img);
}

error said texture() is not available with this renderer.

Expected Behavior

Should open fullScreen on second monitor (a 4K display)

Current Behavior

Open fullScreen on first monitor
Can't test P3D renderre on second monitor.

Steps to Reproduce

  1. Connect a second monitor to Mac
  2. add fullScreen(P3D, 2); in sketch's setup()
  3. run sketch

Your Environment

  • Processing version: 4b3
  • Operating System and OS version: MacOS Catalina 10.15.7
  • Other information:
    iMac 4K 2019 + Samsung 4K TV

Possible Causes / Solutions

fullScreen(2); works produce fullscreen on second monitor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions