src/video/win32/SDL_d3drender.c
changeset 3011 8f4ed5ec2b06
parent 2990 502adab079a4
child 3013 8cc00819c8d6
     1.1 --- a/src/video/win32/SDL_d3drender.c	Fri Jan 09 20:41:31 2009 +0000
     1.2 +++ b/src/video/win32/SDL_d3drender.c	Fri Jan 09 20:43:30 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(texture->
     1.8 -                                                               format),
     1.9 +                                           PixelFormatToD3DFMT
    1.10 +                                           (texture->format),
    1.11                                             D3DPOOL_SYSTEMMEM, &temp, NULL);
    1.12          if (FAILED(result)) {
    1.13              D3D_SetError("CreateTexture()", result);