]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.c
reworked GL shader detection a bit, now works on Mac with Intel GMA 945 again
[xonotic/darkplaces.git] / cl_video.c
index 2db4756e84f94880baaf98eb6b7e17a7dc051de4..4e37eb7548dc46ab6220bacb921991c93e34ff79 100644 (file)
@@ -5,9 +5,9 @@
 #include "dpvsimpledecode.h"
 
 // VorteX: JAM video module used by Blood Omnicide
-//#define USEJAM
+#define USEJAM
 #ifdef USEJAM
-  #include "jamdecode.c"
+  #include "cl_video_jamdecode.c"
 #endif
 
 // cvars
@@ -613,6 +613,9 @@ static void CL_PlayVideo_f(void)
 
        Host_StartVideo();
 
+       if (COM_CheckParm("-benchmark"))
+               return;
+
        if (Cmd_Argc() < 2)
        {
                Con_Print("usage: playvideo <videoname> [custom_subtitles_file]\nplays video named video/<videoname>.dpv\nif custom subtitles file is not presented\nit tries video/<videoname>.sub");