changeset 5197:69f47f2c1856

Fixed newlines
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Feb 2011 11:54:46 -0800
parents e96c5be3e0b5
children bb45ecd958d8
files src/render/direct3d/SDL_d3drender.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/render/direct3d/SDL_d3drender.c	Fri Feb 04 14:06:01 2011 -0800
+++ b/src/render/direct3d/SDL_d3drender.c	Sat Feb 05 11:54:46 2011 -0800
@@ -536,7 +536,7 @@
     if (texture->access == SDL_TEXTUREACCESS_STREAMING &&
         rect->x == 0 && rect->y == 0 &&
         rect->w == texture->w && rect->h == texture->h) {
-        result = IDirect3DTexture9_LockRect(data->texture, 0, &locked, NULL, D3DLOCK_DISCARD);
+        result = IDirect3DTexture9_LockRect(data->texture, 0, &locked, NULL, D3DLOCK_DISCARD);
     } else
 #endif
     {
@@ -544,7 +544,7 @@
         d3drect.right = rect->x + rect->w;
         d3drect.top = rect->y;
         d3drect.bottom = rect->y + rect->h;
-        result = IDirect3DTexture9_LockRect(data->texture, 0, &locked, &d3drect, 0);
+        result = IDirect3DTexture9_LockRect(data->texture, 0, &locked, &d3drect, 0);
     }
 
     if (FAILED(result)) {