adjust file locations to be more portable

This commit is contained in:
jp9000
2013-11-01 14:33:00 -07:00
parent a6a6118c04
commit 8847d11e8e
30 changed files with 340 additions and 53 deletions

View File

@@ -1,6 +1,8 @@
INCLUDES = -iquote$(top_srcdir)/libobs
AM_CPPFLAGS = -DUNICODE -D_UNICODE
bin_PROGRAMS = test
builddir = ../../build
build_PROGRAMS = test
test_LDADD = $(top_srcdir)/libobs/libobs.la
test_LDFLAGS = -mwindows
test_SOURCES = test.cpp

View File

@@ -84,7 +84,7 @@ static void CreateOBS(HWND hwnd)
gsid.num_backbuffers = 2;
gsid.format = GS_RGBA;
if (!obs_startup("libobs-opengl.dll", &gsid, &vi, NULL))
if (!obs_startup("libobs-opengl", &gsid, &vi, NULL))
throw "Couldn't create OBS";
}
@@ -146,7 +146,7 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdLine,
/* ------------------------------------------------------ */
/* load module */
if (obs_load_module("test-input.dll") != 0)
if (obs_load_module("test-input") != 0)
throw "Couldn't load module";
/* ------------------------------------------------------ */