]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.c
BuildTriangleNeighbors now detects edges shared by three triangles, fixes weird shado...
[xonotic/darkplaces.git] / cl_video.c
index 857d5d8fb85bba8cc477c04cab432d7c21ae6c4c..4778c8189c4b57aed1c80c513ba8d7396185f03e 100644 (file)
@@ -56,7 +56,7 @@ void CL_VideoFrame(void)
        }
        if (cl_videosoundrate && (samples = S_RawSamples_QueueWantsMore()))
        {
-               Con_Printf("%i = S_RawSamples_QueueWantsMore()\n", samples);
+               Con_DPrintf("%i = S_RawSamples_QueueWantsMore()\n", samples);
 
                // calculate how much source data we need to fill the output...
                s = samples * cl_videosoundrate / S_RawSamples_SampleRate();
@@ -159,7 +159,7 @@ void CL_VideoStart(char *filename)
        cl_videosoundresampledata = NULL;
 
        cl_videotexturepool = R_AllocTexturePool();
-       cl_videotexture = R_LoadTexture(cl_videotexturepool, "videotexture", cl_videoimagewidth, cl_videoimageheight, NULL, TEXTYPE_RGBA, TEXF_FRAGMENT);
+       cl_videotexture = R_LoadTexture2D(cl_videotexturepool, "videotexture", cl_videoimagewidth, cl_videoimageheight, NULL, TEXTYPE_RGBA, TEXF_FRAGMENT, NULL);
 }
 
 void CL_VideoStop(void)