src/video/win32/SDL_d3drender.c
changeset 3013 8cc00819c8d6
parent 3011 8f4ed5ec2b06
child 3197 434ce3242e1c
     1.1 --- a/src/video/win32/SDL_d3drender.c	Sat Jan 10 18:32:24 2009 +0000
     1.2 +++ b/src/video/win32/SDL_d3drender.c	Sat Jan 10 21:50:26 2009 +0000
     1.3 @@ -693,8 +693,8 @@
     1.4          result =
     1.5              IDirect3DDevice9_CreateTexture(renderdata->device, texture->w,
     1.6                                             texture->h, 1, 0,
     1.7 -                                           PixelFormatToD3DFMT
     1.8 -                                           (texture->format),
     1.9 +                                           PixelFormatToD3DFMT(texture->
    1.10 +                                                               format),
    1.11                                             D3DPOOL_SYSTEMMEM, &temp, NULL);
    1.12          if (FAILED(result)) {
    1.13              D3D_SetError("CreateTexture()", result);