Slow frame, commented, it could cause seg faults with full screen.
This commit is contained in:
parent
9f74d5319f
commit
ba6b1c7057
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue