Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_d3drender.c @ 3013:8cc00819c8d6
Reverted Bob's indent checkin
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Jan 2009 21:50:26 +0000 |
parents | 8f4ed5ec2b06 |
children | 434ce3242e1c |
comparison
equal
deleted
inserted
replaced
3012:7e30c2dc7783 | 3013:8cc00819c8d6 |
---|---|
691 HRESULT result; | 691 HRESULT result; |
692 | 692 |
693 result = | 693 result = |
694 IDirect3DDevice9_CreateTexture(renderdata->device, texture->w, | 694 IDirect3DDevice9_CreateTexture(renderdata->device, texture->w, |
695 texture->h, 1, 0, | 695 texture->h, 1, 0, |
696 PixelFormatToD3DFMT | 696 PixelFormatToD3DFMT(texture-> |
697 (texture->format), | 697 format), |
698 D3DPOOL_SYSTEMMEM, &temp, NULL); | 698 D3DPOOL_SYSTEMMEM, &temp, NULL); |
699 if (FAILED(result)) { | 699 if (FAILED(result)) { |
700 D3D_SetError("CreateTexture()", result); | 700 D3D_SetError("CreateTexture()", result); |
701 return -1; | 701 return -1; |
702 } | 702 } |