Fix a bug reported by Frederic Bouvier:
GL/gl.h can't be included at the first position in windows. It requires the inclusion of windows.h that must be included in other fgfs header file. I only move down #include <GL/gl.h>
This commit is contained in:
parent
e4d014a959
commit
b3bb53b67f
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
||||||
#include <GL/gl.h>
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <Main/fg_props.hxx>
|
#include <Main/fg_props.hxx>
|
||||||
#include <Cockpit/panel.hxx>
|
#include <Cockpit/panel.hxx>
|
||||||
#include <Cockpit/panel_io.hxx>
|
#include <Cockpit/panel_io.hxx>
|
||||||
|
#include <GL/gl.h>
|
||||||
#include "panelnode.hxx"
|
#include "panelnode.hxx"
|
||||||
|
|
||||||
FGPanelNode::FGPanelNode(SGPropertyNode* props)
|
FGPanelNode::FGPanelNode(SGPropertyNode* props)
|
||||||
|
|
Loading…
Add table
Reference in a new issue