projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shorten u_queue names
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_surfaces.c
diff --git
a/src/gallium/auxiliary/util/u_surfaces.c
b/src/gallium/auxiliary/util/u_surfaces.c
index c2f2b74c939d8d752a3351e23df40a5806e32c99..78b2506e47ba467e6f624bbc3098d3d13cc985a8 100644
(file)
--- a/
src/gallium/auxiliary/util/u_surfaces.c
+++ b/
src/gallium/auxiliary/util/u_surfaces.c
@@
-59,7
+59,7
@@
util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size,
}
ps = (struct pipe_surface *)CALLOC(1, surface_struct_size);
}
ps = (struct pipe_surface *)CALLOC(1, surface_struct_size);
- if(!ps)
+ if
(!ps)
{
*res = NULL;
return FALSE;
{
*res = NULL;
return FALSE;
@@
-114,7
+114,7
@@
util_surfaces_destroy(struct util_surfaces *us, struct pipe_resource *pt, void (
for(i = 0; i <= pt->last_level; ++i)
{
struct pipe_surface *ps = us->u.array[i];
for(i = 0; i <= pt->last_level; ++i)
{
struct pipe_surface *ps = us->u.array[i];
- if(ps)
+ if
(ps)
destroy_surface(ps);
}
FREE(us->u.array);
destroy_surface(ps);
}
FREE(us->u.array);