projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f0d4636
)
st/dri: minor formatting clean-ups in dri_context.c
author
Brian Paul
<brianp@vmware.com>
Sat, 19 Oct 2013 14:23:10 +0000
(08:23 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 22 Oct 2013 14:20:45 +0000
(08:20 -0600)
src/gallium/state_trackers/dri/common/dri_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/dri/common/dri_context.c
b/src/gallium/state_trackers/dri/common/dri_context.c
index 031e951b9db051a727c9b53263ad266797eeffa6..ee3c8be860b020ce7830cea7be495f5275d7c648 100644
(file)
--- a/
src/gallium/state_trackers/dri/common/dri_context.c
+++ b/
src/gallium/state_trackers/dri/common/dri_context.c
@@
-39,8
+39,9
@@
#include "pipe/p_context.h"
#include "state_tracker/st_context.h"
#include "pipe/p_context.h"
#include "state_tracker/st_context.h"
-static void dri_fill_st_options(struct st_config_options *options,
- const struct driOptionCache * optionCache)
+static void
+dri_fill_st_options(struct st_config_options *options,
+ const struct driOptionCache * optionCache)
{
options->disable_blend_func_extended =
driQueryOptionb(optionCache, "disable_blend_func_extended");
{
options->disable_blend_func_extended =
driQueryOptionb(optionCache, "disable_blend_func_extended");
@@
-179,7
+180,8
@@
dri_destroy_context(__DRIcontext * cPriv)
ctx->st->flush(ctx->st, 0, NULL);
ctx->st->destroy(ctx->st);
ctx->st->flush(ctx->st, 0, NULL);
ctx->st->destroy(ctx->st);
- if (ctx->pp) pp_free(ctx->pp);
+ if (ctx->pp)
+ pp_free(ctx->pp);
free(ctx);
}
free(ctx);
}
@@
-257,7
+259,7
@@
dri_get_current(__DRIscreen *sPriv)
st = stapi->get_current(stapi);
st = stapi->get_current(stapi);
- return (struct dri_context *)
(st)
? st->st_manager_private : NULL;
+ return (struct dri_context *)
st
? st->st_manager_private : NULL;
}
/* vim: set sw=3 ts=8 sts=3 expandtab: */
}
/* vim: set sw=3 ts=8 sts=3 expandtab: */