]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix compile errors in D3D renderer (missing vabuf variable)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Oct 2011 02:46:57 +0000 (02:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Oct 2011 02:46:57 +0000 (02:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11488 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index d907ef3eb84befb9b2f723a182685ab0b41280cc..cc810d11ed2cb111e66e0508fcb552c7952bffb5 100644 (file)
@@ -1453,6 +1453,7 @@ static void R_HLSL_CacheShader(r_hlsl_permutation_t *p, const char *cachename, c
        int psresult = 0;
        char temp[MAX_INPUTLINE];
        const char *vsversion = "vs_3_0", *psversion = "ps_3_0";
+       char vabuf[1024];
        qboolean debugshader = gl_paranoid.integer != 0;
        if (p->permutation & SHADERPERMUTATION_OFFSETMAPPING) {vsversion = "vs_3_0";psversion = "ps_3_0";}
        if (p->permutation & SHADERPERMUTATION_OFFSETMAPPING_RELIEFMAPPING) {vsversion = "vs_3_0";psversion = "ps_3_0";}