wined3d: Fix the indentation in buffer_direct_upload().
This commit is contained in:
parent
03f7a2d88e
commit
a147fd9c36
@ -867,6 +867,9 @@ static void buffer_direct_upload(struct wined3d_buffer *This, const struct wined
|
||||
UINT start = 0, len = 0;
|
||||
|
||||
ENTER_GL();
|
||||
|
||||
/* This potentially invalidates the element array buffer binding, but the
|
||||
* caller always takes care of this. */
|
||||
GL_EXTCALL(glBindBufferARB(This->buffer_type_hint, This->buffer_object));
|
||||
checkGLcall("glBindBufferARB");
|
||||
if (gl_info->supported[ARB_MAP_BUFFER_RANGE])
|
||||
@ -906,7 +909,7 @@ static void buffer_direct_upload(struct wined3d_buffer *This, const struct wined
|
||||
return;
|
||||
}
|
||||
|
||||
while(This->modified_areas)
|
||||
while (This->modified_areas)
|
||||
{
|
||||
This->modified_areas--;
|
||||
start = This->maps[This->modified_areas].offset;
|
||||
@ -927,6 +930,7 @@ static void buffer_direct_upload(struct wined3d_buffer *This, const struct wined
|
||||
}
|
||||
GL_EXTCALL(glUnmapBufferARB(This->buffer_type_hint));
|
||||
checkGLcall("glUnmapBufferARB");
|
||||
|
||||
LEAVE_GL();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user