  #if SDL_VIDEO_DRIVER_QUARTZ
  extern VideoBootStrap QZ_bootstrap;
  #endif
-diff -urN SDL-1.2.14/src/video/SDL_video.c SDL-1.2.14-nacl//src/video/SDL_video.c
+diff -urN SDL-1.2.14/src/video/SDL_video.c SDL-1.2.14-nacl/src/video/SDL_video.c
 --- SDL-1.2.14/src/video/SDL_video.c	2009-10-13 03:07:15.000000000 +0400
-+++ SDL-1.2.14-nacl//src/video/SDL_video.c	2011-11-28 23:43:22.689635148 +0400
++++ SDL-1.2.14-nacl/src/video/SDL_video.c	2011-11-30 16:15:14.103546411 +0400
 @@ -33,6 +33,9 @@
  
  /* Available video drivers */

+  gNaclMainThreadRunner->RunJob(job);
+}
+} // extern "C"
diff -urN SDL-1.2.14/src/video/nacl/SDL_naclvideo.h SDL-1.2.14-nacl//src/video/nacl/SDL_naclvideo.h
--- SDL-1.2.14/src/video/nacl/SDL_naclvideo.h	1970-01-01 03:00:00.000000000 +0300
+++ SDL-1.2.14-nacl//src/video/nacl/SDL_naclvideo.h	2011-11-28 23:43:34.019635132 +0400
@@ -0,0 +1,37 @@
+#include "SDL_config.h"
+

+};
+
+#endif
diff -urN SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc SDL-1.2.14-nacl/src/video/nacl/SDL_naclvideo.cc
--- SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc	1970-01-01 03:00:00.000000000 +0300
+++ SDL-1.2.14-nacl/src/video/nacl/SDL_naclvideo.cc	2011-11-30 16:16:46.755187748 +0400
@@ -0,0 +1,243 @@
+#include "SDL_config.h"
+
+#include <assert.h>
