1
0
Fork 0

Fix warnings (thanks ripsaw)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3578
This commit is contained in:
Ralf Grillenberger 2010-04-12 10:37:59 +00:00
parent 2dff0226b9
commit d40f71fc45
2 changed files with 2 additions and 3 deletions

View file

@ -20,7 +20,6 @@
#include <string.h>
#include <math.h>
#include <cstdlib>
#include "dosbox.h"
#include "video.h"
#include "render.h"
@ -1467,7 +1466,7 @@ void VGA_SetupDrawing(Bitu /*val*/) {
(height != vga.draw.height) ||
(vga.draw.doublewidth != doublewidth) ||
(vga.draw.doubleheight != doubleheight) ||
(abs(aspect_ratio - vga.draw.aspect_ratio) > 0.0001) ||
(fabs(aspect_ratio - vga.draw.aspect_ratio) > 0.0001) ||
(vga.draw.bpp != bpp)) {
VGA_KillDrawing();

View file

@ -1704,4 +1704,4 @@ int main(int argc, char *argv[])
}
#endif
#endif
#endif