mirror of
https://github.com/yawut/SDL.git
synced 2026-04-19 07:07:19 -05:00
Fixed newlines
This commit is contained in:
parent
64db716d1b
commit
59a97fa5e9
|
|
@ -536,7 +536,7 @@ D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
|
|||
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 @@ D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
|
|||
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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user