Fix warnings (thanks ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3578
This commit is contained in:
parent
2dff0226b9
commit
d40f71fc45
2 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -1704,4 +1704,4 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue