X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_video.c;h=fcfd0d0a96b452ec84cace550305635de677753c;hb=c7ca06d4cfc3aa10eb1a21633f0443e4e81ecc53;hp=f97872cd6077db587f512d531e360a00e23b3ded;hpb=4ba615858bc88fb2467a16c97126462d4dfc3b53;p=xonotic%2Fdarkplaces.git diff --git a/cl_video.c b/cl_video.c index f97872cd..fcfd0d0a 100644 --- a/cl_video.c +++ b/cl_video.c @@ -42,7 +42,7 @@ static void VideoUpdateCallback(rtexture_t *rt, void *data) { static void LinkVideoTexture( clvideo_t *video ) { video->cpif.tex = R_LoadTexture2D( cl_videotexturepool, video->cpif.name, - video->cpif.width, video->cpif.height, NULL, TEXTYPE_BGRA, TEXF_ALWAYSPRECACHE | TEXF_PERSISTENT | TEXF_ALLOWUPDATES, NULL ); + video->cpif.width, video->cpif.height, NULL, TEXTYPE_BGRA, TEXF_PERSISTENT | TEXF_ALLOWUPDATES, NULL ); R_MakeTextureDynamic( video->cpif.tex, VideoUpdateCallback, video ); CL_LinkDynTexture( video->cpif.name, video->cpif.tex ); } @@ -116,9 +116,7 @@ clvideo_t* CL_OpenVideo( const char *filename, const char *name, int owner ) clvideo_t *video; // sanity check if( !name || !*name || strncmp( name, CLVIDEOPREFIX, sizeof( CLVIDEOPREFIX ) - 1 ) != 0 ) { - if( developer.integer > 0 ) { - Con_Printf( "CL_OpenVideo: Bad video texture name '%s'!\n", name ); - } + Con_DPrintf( "CL_OpenVideo: Bad video texture name '%s'!\n", name ); return NULL; }