From ba6b1c705792d4b3bb70af7cd4e17a8ec5a5a446 Mon Sep 17 00:00:00 2001
From: johns <>
Date: Wed, 12 Jul 2000 22:13:22 +0000
Subject: [PATCH] Slow frame, commented, it could cause seg faults with full
 screen.

---
 src/video/sdl.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/video/sdl.cpp b/src/video/sdl.cpp
index 178e00814..4c3ef2874 100644
--- a/src/video/sdl.cpp
+++ b/src/video/sdl.cpp
@@ -149,10 +149,6 @@ global void InitVideoSdl(void)
     // Turn cursor off, we use our own.
     SDL_ShowCursor(0);
 
-    SDL_LockSurface(Screen);
-    VideoMemory=Screen->pixels;		// This isn't constant!
-    SDL_UnlockSurface(Screen);
-
     //
     //	I need the used bits per pixel.
     //	You see it's better making all self, than using wired libaries :)
@@ -667,7 +663,7 @@ global void CheckVideoInterrupts(void)
     if( VideoInterrupts ) {
         //DebugLevel1("Slow frame\n");
 	IfDebug(
-	    DrawText(TheUI.MapX+10,TheUI.MapY+10,GameFont,"SLOW FRAME!!");
+	    //DrawText(TheUI.MapX+10,TheUI.MapY+10,GameFont,"SLOW FRAME!!");
 	);
         ++SlowFrameCounter;
     }