Gonna take my time and actually work on a D3D9 panel. Documentation here I come.
This commit is contained in:
parent
fdb39a1c8f
commit
4a615ab395
|
@ -2226,14 +2226,19 @@ void GLDrawingPanel::DrawArea(wxWindowDC& dc)
|
||||||
|
|
||||||
#if defined(__WXMSW__) && !defined(NO_D3D)
|
#if defined(__WXMSW__) && !defined(NO_D3D)
|
||||||
#define DIRECT3D_VERSION 0x0900
|
#define DIRECT3D_VERSION 0x0900
|
||||||
#include <d3d9.h>
|
#include <d3d9.h> // main include file
|
||||||
//#include <Dxerr.h>
|
#include <d3dx9core.h> // required for font rendering
|
||||||
|
#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)
|
||||||
{
|
{
|
||||||
// FIXME: implement
|
// FIXME: implement
|
||||||
if (!did_init) DrawingPanelInit();
|
if (!did_init) {
|
||||||
|
DrawingPanelInit();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (todraw) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DXDrawingPanel::DrawArea(wxWindowDC& dc)
|
void DXDrawingPanel::DrawArea(wxWindowDC& dc)
|
||||||
|
|
Loading…
Reference in New Issue