Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: dderr_surfacelost

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2003
    Location
    ITALY
    Posts
    3

    dderr_surfacelost

    I have some simple programs using OpenGL to show 3D worlds (they're all very simple).
    Does anyone know what I can do when my program stops drawing and write "DDERR_SURFACELOST" in the output window of Microsoft Visual Studio ?
    Thanks

  2. #2
    Intern Contributor
    Join Date
    Mar 2004
    Posts
    62

    Re: dderr_surfacelost

    It appears that the driver uses DirectDraw to manage the OpenGL textures and for some reason the DirectDraw surface becomes invalid and needs to be restored.

    You did not provide all that much info to work with, but I wouldnt be surprised if you uploading the same textures over and over again until OpenGL runs out of texture ram.

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2003
    Location
    ITALY
    Posts
    3

    Re: dderr_surfacelost

    This problem happens when someone gives me "Remote Assistance" from another computer.
    My control goes black and in the Output Window I see "DDERR_SURFACELOST" some times.
    The application goes on normally but I can't see anything.
    If I close my application and restart it before disconnecting the Remote Assistance it starts normally and it runs OK.
    I suppose that I need to restore DirectDraw but ... can I interact with DirectDraw while OpenGL libraries already do it ? And how ?

  4. #4
    Intern Contributor
    Join Date
    Mar 2004
    Posts
    62

    Re: dderr_surfacelost

    Ahhh "Remote Desktop"... No you cant do anything, its either a display driver or Windows related problem.

    The former is more likley though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •