#1255 win32: "display method" opengl broken r4519 and onward

SVN past 0.9.8
closed-fixed
nobody
5
2013-08-13
2013-02-15
daxx
No

All revisions post-r4519 do not display an image when display method OpenGL is checked. The 3D mode(SoftRastererizer, OpenGL 3.2, OpenGL Old) does not matter, nor do any other settings. Changing the display method to DirectDraw SW/HW will begin rendering the game immediately thereafter. If one changes it back to opengl, it stops updating the screen again.

Revisions: 4519-4535
OS: Windows 7 Ultimate
CPU: Intel i7 3930K
GPU: GTX 670

Discussion

  • daxx
    daxx
    2013-02-15

    In main.cpp:1448, this line breaks the display method:

    -> if(wglGetCurrentContext() != privateContext)
    wglMakeCurrent(privateDC,privateContext);

    Commenting it out or removal fixes the opengl display method.

     
  • zeromus
    zeromus
    2013-02-15

    unfortunately, that is not a legitimate fix, although it is a good clue.

     
  • CrazyMax
    CrazyMax
    2013-08-13

    • status: open-fixed --> closed-fixed
     


Anonymous


Cancel   Add attachments