This commit is contained in:
IoIxD 2026-09-17 22:21:25 -07:00 • committed by Nishi
commit a18ca58f18
4 changed files with 12 additions and 12 deletions

View file

@ -47,8 +47,8 @@ int main() {
d3d8 = MwCreateWidget(MwD3D8Class, NULL, window, (1024 - 800) / 2, (768 - 600) / 2, 800, 600);
d3d = MwDirectXGetD3D8(d3d8);
d3ddev = MwDirectXGetD3Dev8(d3d8);
d3d = MwD3D8GetD3D(d3d8);
d3ddev = MwD3D8GetD3Dev(d3d8);
// create three vertices using the CUSTOMVERTEX struct built earlier
struct CUSTOMVERTEX vertices[] =

View file

@ -48,8 +48,8 @@ int main() {
d3d8 = MwCreateWidget(MwD3D9Class, NULL, window, (1024 - 800) / 2, (768 - 600) / 2, 800, 600);
d3d = MwDirectXGetD3D9(d3d8);
d3ddev = MwDirectXGetD3Dev9(d3d8);
d3d = MwD3D9GetD3D(d3d8);
d3ddev = MwD3D9GetD3Dev(d3d8);
// create three vertices using the CUSTOMVERTEX struct built earlier
struct CUSTOMVERTEX vertices[] =