This commit is contained in:
parent
92ea06a6ff
commit
2db411180d
5 changed files with 40 additions and 16 deletions
|
|
@ -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[] =
|
||||
|
|
|
|||
|
|
@ -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[] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue