o
This commit is contained in:
parent
9bdd80b421
commit
7d2b5a17a4
2 changed files with 3 additions and 3 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -42,7 +42,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh("git clean -dfx")
|
sh("git clean -dfx")
|
||||||
sh("./configure --enable-opengl --enable-d3d9 --enable-d3d8 --cross --target=Windows --host=i686-w64-mingw32")
|
sh("./configure --enable-opengl --cross --target=Windows --host=i686-w64-mingw32")
|
||||||
sh("make -j4")
|
sh("make -j4")
|
||||||
sh("mv src/Mw.dll Mw32.dll")
|
sh("mv src/Mw.dll Mw32.dll")
|
||||||
sh("mv src/libMw.dll.a libMw32.dll.a")
|
sh("mv src/libMw.dll.a libMw32.dll.a")
|
||||||
|
|
@ -55,7 +55,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh("git clean -dfx")
|
sh("git clean -dfx")
|
||||||
sh("./configure --enable-opengl --enable-d3d9 --enable-d3d8 --cross --target=Windows --host=x86_64-w64-mingw32")
|
sh("./configure --enable-opengl --cross --target=Windows --host=x86_64-w64-mingw32")
|
||||||
sh("make -j4")
|
sh("make -j4")
|
||||||
sh("mv src/Mw.dll Mw64.dll")
|
sh("mv src/Mw.dll Mw64.dll")
|
||||||
sh("mv src/libMw.dll.a libMw64.dll.a")
|
sh("mv src/libMw.dll.a libMw64.dll.a")
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
#include <Mw/Widget/Direct3D9.h>
|
#include <Mw/Widget/Direct3D9.h>
|
||||||
typedef struct gdid3d9 {
|
typedef struct gdid3d9 {
|
||||||
void* d3d9dll;
|
void* d3d9dll;
|
||||||
IDirect3D9*(D3DAPI* Direct3DCreate9)(UINT sdk_version);
|
IDirect3D9*(WINAPI* Direct3DCreate9)(UINT sdk_version);
|
||||||
|
|
||||||
LPDIRECT3D9 d3d; // the pointer to our Direct3D interface
|
LPDIRECT3D9 d3d; // the pointer to our Direct3D interface
|
||||||
LPDIRECT3DDEVICE9 d3ddev; // the pointer to the device class
|
LPDIRECT3DDEVICE9 d3ddev; // the pointer to the device class
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue