[vlc-commits] Direct2D: fix GetProcAddress call for UNICODE
Jean-Baptiste Kempf
git at videolan.org
Mon Jan 14 18:06:09 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 19:01:14 2013 +0100| [f44a7809b65025fd46d2e890d735b7239fe5f1f2] | committer: Jean-Baptiste Kempf
Direct2D: fix GetProcAddress call for UNICODE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f44a7809b65025fd46d2e890d735b7239fe5f1f2
---
modules/video_output/msw/direct2d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/msw/direct2d.c b/modules/video_output/msw/direct2d.c
index 68f4f29..6a6d1b2 100644
--- a/modules/video_output/msw/direct2d.c
+++ b/modules/video_output/msw/direct2d.c
@@ -110,7 +110,7 @@ static int Open(vlc_object_t *object)
void **);
D2D1CreateFactory = (void *)GetProcAddress(sys->d2_dll,
- TEXT("D2D1CreateFactory"));
+ "D2D1CreateFactory");
if (!D2D1CreateFactory) {
msg_Err(vd,
"Cannot locate reference to a D2D1CreateFactory ABI in D2D1.DLL");
More information about the vlc-commits
mailing list