diff options
author | Brian Paul <[email protected]> | 2008-04-24 13:44:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-24 13:44:40 -0600 |
commit | bceebffc178af89154b3b78f3afd97f0d93ca2f8 (patch) | |
tree | f1b5b5af486b57bb6ac4a027c8dee2185523870b | |
parent | 72c8d2f2449d54005eb721fe3853a6009e9b8d17 (diff) |
gallium: disable the bitmap/texcoord bias
Doesn't seem to be needed after fixing the float->int conversion problem.
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index e7f6ff66b57..507ace27c71 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -355,7 +355,7 @@ setup_bitmap_vertex_data(struct st_context *st, const GLfloat x1 = x + width; const GLfloat y0 = y; const GLfloat y1 = y + height; - const GLfloat bias = st->bitmap_texcoord_bias; + const GLfloat bias = 0.0 * st->bitmap_texcoord_bias; /* XXX remove */ const GLfloat xBias = bias / (x1-x0); const GLfloat yBias = bias / (y1-y0); const GLfloat sLeft = 0.0 + xBias, sRight = 1.0 + xBias; |