Gonna take my time and actually work on a D3D9 panel. Documentation here I come.

This commit is contained in:
ZachBacon 2018-06-05 10:13:41 -04:00
parent fdb39a1c8f
commit 4a615ab395
1 changed files with 8 additions and 3 deletions

View File

@ -2226,14 +2226,19 @@ void GLDrawingPanel::DrawArea(wxWindowDC& dc)
#if defined(__WXMSW__) && !defined(NO_D3D)
#define DIRECT3D_VERSION 0x0900
#include <d3d9.h>
//#include <Dxerr.h>
#include <d3d9.h> // main include file
#include <d3dx9core.h> // required for font rendering
#include <dxerr9.h> // contains debug functions
DXDrawingPanel::DXDrawingPanel(wxWindow* parent, int _width, int _height)
: DrawingPanel(parent, _width, _height)
{
// FIXME: implement
if (!did_init) DrawingPanelInit();
if (!did_init) {
DrawingPanelInit();
}
if (todraw) {
}
void DXDrawingPanel::DrawArea(wxWindowDC& dc)