mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 17:07:39 +00:00
os2: integrate the port into main tree.
This commit is contained in:
parent
20db1471e5
commit
d27238751f
13 changed files with 104 additions and 8 deletions
|
@ -13,7 +13,7 @@ TARGETS = testatomic.exe testdisplayinfo.exe testbounds.exe testdraw2.exe &
|
|||
testviewport.exe testwm2.exe torturethread.exe checkkeys.exe &
|
||||
controllermap.exe testhaptic.exe testqsort.exe testresample.exe &
|
||||
testaudioinfo.exe testaudiocapture.exe loopwave.exe loopwavequeue.exe &
|
||||
testyuv.exe testgl2.exe testvulkan.exe testautomation.exe
|
||||
testyuv.exe testgl2.exe testvulkan.exe testnative.exe testautomation.exe
|
||||
|
||||
# SDL2test.lib sources (../src/test)
|
||||
|
||||
|
@ -69,6 +69,10 @@ testautomation.exe: $(TAOBJS)
|
|||
@%make $(TESTLIB)
|
||||
wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@
|
||||
|
||||
testnative.exe: testnative.obj testnativeos2.obj
|
||||
@%make $(TESTLIB)
|
||||
wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@
|
||||
|
||||
testoverlay2.exe: testoverlay2.obj testyuv_cvt.obj
|
||||
@%make $(TESTLIB)
|
||||
wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@
|
||||
|
|
|
@ -31,6 +31,9 @@ static NativeWindowFactory *factories[] = {
|
|||
#endif
|
||||
#ifdef TEST_NATIVE_COCOA
|
||||
&CocoaWindowFactory,
|
||||
#endif
|
||||
#ifdef TEST_NATIVE_OS2
|
||||
&OS2WindowFactory,
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
|
|
@ -44,3 +44,8 @@ extern NativeWindowFactory X11WindowFactory;
|
|||
#define TEST_NATIVE_COCOA
|
||||
extern NativeWindowFactory CocoaWindowFactory;
|
||||
#endif
|
||||
|
||||
#ifdef SDL_VIDEO_DRIVER_OS2
|
||||
#define TEST_NATIVE_OS2
|
||||
extern NativeWindowFactory OS2WindowFactory;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue