diff src/video/bwindow/SDL_sysyuv.h @ 4888:46fb637777ed SDL-1.2

Here's the patch we use when building SDL-1.2.14 and 1.2-hg on Haiku, it only affects Haiku specific files so should be ok to apply in hg. -Scott McCreary HaikuPorts
author Sam Lantinga <slouken@libsdl.org>
date Sat, 18 Sep 2010 17:16:36 -0700
parents 7a4c511c980a
children
line wrap: on
line diff
--- a/src/video/bwindow/SDL_sysyuv.h	Fri Jul 09 17:19:18 2010 +0200
+++ b/src/video/bwindow/SDL_sysyuv.h	Sat Sep 18 17:16:36 2010 -0700
@@ -62,7 +62,7 @@
 };
 
 extern BBitmap * BE_GetOverlayBitmap(BRect bounds, color_space cs);
-SDL_Overlay* BE_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface* display);
+extern SDL_Overlay* BE_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface* display);
 extern int BE_LockYUVOverlay(_THIS, SDL_Overlay* overlay);
 extern void BE_UnlockYUVOverlay(_THIS, SDL_Overlay* overlay);
 extern int BE_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect* dst);