Commit 991558a4 authored by Sam Lantinga's avatar Sam Lantinga

Fixed newlines

parent a9d652d2
...@@ -536,7 +536,7 @@ D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, ...@@ -536,7 +536,7 @@ D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
if (texture->access == SDL_TEXTUREACCESS_STREAMING && if (texture->access == SDL_TEXTUREACCESS_STREAMING &&
rect->x == 0 && rect->y == 0 && rect->x == 0 && rect->y == 0 &&
rect->w == texture->w && rect->h == texture->h) { 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 } else
#endif #endif
{ {
...@@ -544,7 +544,7 @@ D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, ...@@ -544,7 +544,7 @@ D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
d3drect.right = rect->x + rect->w; d3drect.right = rect->x + rect->w;
d3drect.top = rect->y; d3drect.top = rect->y;
d3drect.bottom = rect->y + rect->h; 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)) { if (FAILED(result)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment