Added correct include files to files,

No longer modify cmap if the device is truecolor (messes up dual monitors
	with vt switching)
This commit is contained in:
Sean D'Epagnier
2006-11-21 09:35:49 +00:00
parent 0337e5635f
commit 0570fcfd93
10 changed files with 21 additions and 9 deletions
+3 -1
View File
@@ -571,7 +571,8 @@ void SetVideoMode(void)
}
/* initialize colormap */
LoadColorMap();
if(FixedInfo.visual != FB_VISUAL_TRUECOLOR)
LoadColorMap();
}
void CreateBuffer()
@@ -786,6 +787,7 @@ void glutDestroyWindow(int win)
glFBDevDestroyContext(Context);
glFBDevDestroyBuffer(Buffer);
glFBDevDestroyVisual(Visual);
Visual = NULL;
}