OpenGL strange Issue



  • I have a strange problem with an application using Qt and OpenGL...
    (0_1521565653540_cas1.jpg

    when I switch to full screen (using the showFullScreen() function), the screen splits into two parts along a diagonal. On one side the display is normal, on the other, the display is completely black...

    0_1521565906396_cas2.jpg

    Does anyone have an explanation for this phenomenon? The code seems to have no effect. Even if I disable all traces, the black triangle still appears...

    Is it necessary to reset the openGL graphic context before switching the display?

    The default appears under Windows, macOS and Linux...

    Best regards,

    Francky033


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.