[PATCH 2/3] wined3d: store amount of video memory in gpu_description_table

Rico Schüller kgbricola at web.de
Sat Sep 11 06:54:36 CDT 2010


Am 11.09.2010 03:59, schrieb Roderick Colenbrander:
>           /* Geforce 300 midend mobile (Geforce GT 325M/330M use the same core) */
>           if (strstr(gl_renderer, "GT 325M")
>                   || strstr(gl_renderer, "GT 330M"))
>           {
> -           *vidmem = 1024;
> -           return CARD_NVIDIA_GEFORCE_GT325M;
> +            return CARD_NVIDIA_GEFORCE_GT325M;
>           }
>    

>           /* Geforce 200 - midend */
>           if (strstr(gl_renderer, "GT 240"))
>           {
> -           *vidmem = 512;
>              return CARD_NVIDIA_GEFORCE_GT240;
>           }
>
>           /* Geforce 200 lowend */
>           if (strstr(gl_renderer, "GT 220"))
>           {
> -           *vidmem = 512; /* The GT 220 has 512-1024MB */
>              return CARD_NVIDIA_GEFORCE_GT220;
>           }
>           /* Geforce 200 lowend (Geforce 305/310 use the same core) */
> @@ -1461,7 +1459,6 @@ static enum wined3d_pci_device select_card_nvidia_binary(const struct wined3d_gl
>                   || strstr(gl_renderer, "Geforce 305")
>                   || strstr(gl_renderer, "Geforce 310"))
>           {
> -           *vidmem = 512;
>              return CARD_NVIDIA_GEFORCE_210;
>           }
>
>    
Hi Roderick,

you probably might fix the whitespaces for all occurrences.

Cheers
Rico



More information about the wine-devel mailing list