projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdbfb8
)
st/mesa: minor formatting fixes in st_cb_bitmap.c
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Feb 2016 16:29:38 +0000
(09:29 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 8 Feb 2016 16:29:38 +0000
(09:29 -0700)
src/mesa/state_tracker/st_cb_bitmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_bitmap.c
b/src/mesa/state_tracker/st_cb_bitmap.c
index d8c3dbdd79378c26cd8c4a5dd6af54160cb3fe8c..87c606af89679f7dbb3c4f1f1185d9fe3f3e84a9 100644
(file)
--- 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;