]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
GFX : Adjusted gfx/net.jpg size and orientation
[xonotic/darkplaces.git] / gl_rmain.c
index 747c5f0ed0889c3aa286d95f4515f0763e9190b8..3b9994f0ffdc2bf250d0ed538979a772de0f60d0 100644 (file)
@@ -3197,7 +3197,7 @@ static void gl_main_shutdown(void)
        r_texture_numcubemaps = 0;
        //r_texture_fogintensity = NULL;
        memset(&r_fb, 0, sizeof(r_fb));
-       R_GLSL_Restart_f(&cmd_client);
+       R_GLSL_Restart_f(cmd_client);
 
        r_glsl_permutation = NULL;
        memset(r_glsl_permutationhash, 0, sizeof(r_glsl_permutationhash));
@@ -5692,7 +5692,7 @@ void R_RenderView(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture, i
        rsurface.entity = NULL; // used only by R_GetCurrentTexture and RSurf_ActiveModelEntity
 
        if(R_CompileShader_CheckStaticParms())
-               R_GLSL_Restart_f(&cmd_client);
+               R_GLSL_Restart_f(cmd_client);
 
        if (!r_drawentities.integer)
                r_refdef.scene.numentities = 0;
@@ -10065,7 +10065,7 @@ void R_DrawModelSurfaces(entity_render_t *ent, qbool skysurfaces, qbool writedep
        }
        else if (ui)
        {
-               // for ui we have to preserve the order of surfaces (not using sortedmodelsurfaces)
+               // for ui we have to preserve the order of surfaces (not using modelsurfaces_sorted)
                for (i = model->submodelsurfaces_start; i < model->submodelsurfaces_end; i++)
                        r_surfacelist[numsurfacelist++] = surfaces + i;
        }