Still not quite ready for d3d, but this one header mingw has anyways.

This commit is contained in:
ZachBacon 2018-12-25 16:22:13 -05:00
parent 14815135bc
commit 4b664c69f7
1 changed files with 2 additions and 1 deletions

View File

@ -2236,7 +2236,7 @@ void GLDrawingPanel::DrawArea(wxWindowDC& dc)
#define DIRECT3D_VERSION 0x0900
#include <d3d9.h> // main include file
//#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)
: DrawingPanel(parent, _width, _height)
@ -2247,6 +2247,7 @@ DXDrawingPanel::DXDrawingPanel(wxWindow* parent, int _width, int _height)
void DXDrawingPanel::DrawArea(wxWindowDC& dc)
{
// FIXME: implement
if (!did_init) {
DrawingPanelInit();