1
0
Fork 0

Add patch 1335753 from virtualdub. Fixes a lost surface problem in ddraw mode

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2360
This commit is contained in:
Peter Veenstra 2005-10-31 10:21:45 +00:00
parent 91c5cd496a
commit 5783f7ff82

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: sdlmain.cpp,v 1.89 2005-10-24 17:27:37 c2woody Exp $ */
/* $Id: sdlmain.cpp,v 1.90 2005-10-31 10:21:45 qbix79 Exp $ */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
@ -630,6 +630,7 @@ void GFX_EndUpdate(void) {
break;
case DDERR_SURFACELOST:
IDirectDrawSurface3_Restore(sdl.blit.surface->hwdata->dd_surface);
IDirectDrawSurface3_Restore(sdl.surface->hwdata->dd_surface);
break;
default:
LOG_MSG("DDRAW:Failed to blit, error %X",ret);