summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-02-08 09:29:38 -0700
committerBrian Paul <[email protected]>2016-02-08 09:29:38 -0700
commit3c3ef696961343d0078679672d3265dc6638f18e (patch)
treed9e8999fa63fa5af03514826ff182188ed9d9791 /src/mesa/state_tracker
parent5fdbfb8d6fa2e1521cf2f60e80ac571a37ab22a2 (diff)
st/mesa: minor formatting fixes in st_cb_bitmap.c
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c
index d8c3dbdd793..87c606af896 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.c
+++ b/src/mesa/state_tracker/st_cb_bitmap.c
@@ -198,8 +198,7 @@ setup_bitmap_vertex_data(struct st_context *st, bool normalized,
GLuint i;
float (*vertices)[3][4]; /**< vertex pos + color + texcoord */
- if(!normalized)
- {
+ if (!normalized) {
sRight = (GLfloat) width;
tBot = (GLfloat) height;
}
@@ -488,7 +487,6 @@ st_flush_bitmap_cache(struct st_context *st)
{
if (!st->bitmap.cache->empty) {
struct bitmap_cache *cache = st->bitmap.cache;
-
struct pipe_context *pipe = st->pipe;
struct pipe_sampler_view *sv;