Still not quite ready for d3d, but this one header mingw has anyways.
This commit is contained in:
parent
14815135bc
commit
4b664c69f7
|
@ -2236,7 +2236,7 @@ void GLDrawingPanel::DrawArea(wxWindowDC& dc)
|
||||||
#define DIRECT3D_VERSION 0x0900
|
#define DIRECT3D_VERSION 0x0900
|
||||||
#include <d3d9.h> // main include file
|
#include <d3d9.h> // main include file
|
||||||
//#include <d3dx9core.h> // required for font rendering
|
//#include <d3dx9core.h> // required for font rendering
|
||||||
//#include <dxerr9.h> // contains debug functions
|
#include <dxerr9.h> // contains debug functions
|
||||||
|
|
||||||
DXDrawingPanel::DXDrawingPanel(wxWindow* parent, int _width, int _height)
|
DXDrawingPanel::DXDrawingPanel(wxWindow* parent, int _width, int _height)
|
||||||
: DrawingPanel(parent, _width, _height)
|
: DrawingPanel(parent, _width, _height)
|
||||||
|
@ -2247,6 +2247,7 @@ DXDrawingPanel::DXDrawingPanel(wxWindow* parent, int _width, int _height)
|
||||||
|
|
||||||
void DXDrawingPanel::DrawArea(wxWindowDC& dc)
|
void DXDrawingPanel::DrawArea(wxWindowDC& dc)
|
||||||
{
|
{
|
||||||
|
|
||||||
// FIXME: implement
|
// FIXME: implement
|
||||||
if (!did_init) {
|
if (!did_init) {
|
||||||
DrawingPanelInit();
|
DrawingPanelInit();
|
||||||
|
|
Loading…
Reference in New Issue