WineD3D: Implement detection of ATI cards with Mesa DRI drivers

James Hawkins truiken at gmail.com
Wed Nov 21 16:54:26 CST 2007


On Nov 21, 2007 4:51 PM, Roman Mamedov <roman at rm.pp.ru> wrote:
> Sorry, a small mistake. Always check everything twice, and when you
> checked twice - check the third time :(
>
> ---
>  dlls/wined3d/directx.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
> index fa844b0..7e09014 100644
> --- a/dlls/wined3d/directx.c
> +++ b/dlls/wined3d/directx.c
> @@ -1145,7 +1145,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info
> *gl_info) {
>                  } else if (strstr(gl_info->gl_renderer, "R300")) { /*
> r300_dri - all R3xx and R4xx-based cards */
>                      gl_info->gl_card = CARD_ATI_RADEON_9500;
>                      vidmem = 128;
> -                } else if (strstr(gl_info->gl_renderer, "Radeon")) { /*
> radeon_dri, for all R3xx-based cards */
> +                } else if (strstr(gl_info->gl_renderer, "Radeon")) { /*
> radeon_dri - all R100-based cards */
>                      /* This one should be the last case, so if the word
> "Radeon" ever added to Mesa gl_renderer
>                       * string of R200 or R300, this detection code will
> keep working properly.
>                       */
> --
> 1.5.3.4
>

If you make a mistake, you have to fix the first patch and resend it.

-- 
James Hawkins



More information about the wine-devel mailing list