Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6430607

REG:Specifying BIT_DEPTH_MULTI in the display mode reduces the fullscreen size to DM's width, height

XMLWordPrintable

    • 2d
    • 5.0
    • 5.0
    • b95
    • x86
    • windows_xp
    • Verified

      I am obtaining all the display modes from the default screen device. I have replaced the bit depth value with BIT_DEPTH_MULTI and setting this display mode object to the graphics device, after pushing a frame into FS mode. This makes the fullscreen appear small and the frame is no longer FullScreen. Say if the display mode is 640, 480 then the fullscreen size reduces to 640, 480 and the desktop's display mode is retained.

      This is noticed since Mustang-b51 and not reproducible on b50. This is not reproducible on Tiger-FCS. This is noticed only on ddraw. On noddraw and OGL, this throws an exception saying 'invalid display mode'. Hence this is a regression introduced in Mustang-b51.

      I have attached a sample test. Execute the sample test. A FS frame would appear with a button. Label of the button would show the display mode to be set. The bit depth value will be shown as '-1'. Click the button. If the frame's size reduces to the display mode's width and height, the bug is reproduced.

            tdv Dmitri Trembovetski (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: