View Full Version : dderr_surfacelost
04-09-2004, 06:52 AM
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 :rolleyes: :confused:
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.
04-14-2004, 12:08 AM
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 ?
Ahhh "Remote Desktop"... No you cant do anything, its either a display driver or Windows related problem.
The former is more likley though.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.