projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a701694
)
i965: Don't cast the result of brw_prepare_vertices to an unsigned value.
author
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 5 May 2008 05:15:01 +0000
(13:15 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 5 May 2008 05:15:28 +0000
(13:15 +0800)
Negative value means other errors, not aperture overflow. fix bug #15752
src/mesa/drivers/dri/i965/brw_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_draw.c
b/src/mesa/drivers/dri/i965/brw_draw.c
index 6124ab6b0f0ee979a43837a05aa91b1e231bb344..5ccf4f4128b2059c984e8ea3955fa73bf88fd662 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_draw.c
+++ b/
src/mesa/drivers/dri/i965/brw_draw.c
@@
-257,10
+257,12
@@
static GLboolean brw_try_draw_prims( GLcontext *ctx,
struct intel_context *intel = intel_context(ctx);
struct brw_context *brw = brw_context(ctx);
GLboolean retval = GL_FALSE;
- GLuint i
, ret
;
+ GLuint i;
GLuint ib_offset;
dri_bo *ib_bo;
GLboolean force_flush = GL_FALSE;
+ int ret;
+
if (ctx->NewState)
_mesa_update_state( ctx );