Fixed fullscreen window mode on Windows.

This commit is contained in:
Andrey Kamaev
2011-09-11 18:54:25 +00:00
parent fd5b0c1f18
commit 6167469bbd
2 changed files with 12 additions and 12 deletions

View File

@@ -48,6 +48,16 @@
#include "cvconfig.h"
#if defined WIN32 || defined _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef min
#undef max
void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origin );
#endif
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/imgproc/imgproc_c.h"
@@ -64,16 +74,6 @@
#include "opencv2/highgui/highgui_tegra.hpp"
#endif
#if defined WIN32 || defined _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef min
#undef max
void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origin );
#endif
/* Errors */
#define HG_OK 0 /* Don't bet on it! */
#define HG_BADNAME -1 /* Bad window or file name */